From 52ac243e1a089004ff3b3ca6ecf5638da6d91572 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 20 Mar 2016 16:45:08 +0100 Subject: [PATCH] Continuous numeration of edit history version in template --- CHANGELOG.md | 1 + com.woltlab.wcf/templates/editHistory.tpl | 6 +++--- wcfsetup/install/lang/de.xml | 1 + wcfsetup/install/lang/en.xml | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 265ac40172..2525eae4f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ * `wcf\system\event\listener\AbstractUserMergeListener` added. * Notice texts support `{$username}` and `{$email}` placeholders. * Notifications for comments in moderation. +* Continuous numeration of edit history version in template. #### New Traits diff --git a/com.woltlab.wcf/templates/editHistory.tpl b/com.woltlab.wcf/templates/editHistory.tpl index 0d824b8ffd..65ff3ab79d 100644 --- a/com.woltlab.wcf/templates/editHistory.tpl +++ b/com.woltlab.wcf/templates/editHistory.tpl @@ -73,7 +73,7 @@ - + @@ -96,14 +96,14 @@ {event name='columns'} - {foreach from=$objects item=edit} + {foreach from=$objects item=edit name=edit} - + diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 3e70b9a135..0576f94bd3 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2185,6 +2185,7 @@ Fehler sind beispielsweise: + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 9eaf33e3c5..4cd50b4e3e 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2188,6 +2188,7 @@ Errors are: + -- 2.20.1
{lang}wcf.global.objectID{/lang}{lang}wcf.edit.version{/lang} {lang}wcf.user.username{/lang} {lang}wcf.edit.reason{/lang} {lang}wcf.edit.time{/lang}
entryID} checked="checked"{/if} /> entryID} checked="checked"{/if} /> {event name='rowButtons'} {@$edit->entryID}{#($tpl[foreach][edit][total] - $tpl[foreach][edit][iteration] + 1)} {$edit->username} {$edit->editReason} {@$edit->time|time}