From: Matthias Schmidt Date: Sun, 20 Mar 2016 15:45:08 +0000 (+0100) Subject: Continuous numeration of edit history version in template X-Git-Tag: 3.0.0_Beta_1~1994 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=52ac243e1a089004ff3b3ca6ecf5638da6d91572;p=GitHub%2FWoltLab%2FWCF.git Continuous numeration of edit history version in template --- 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: +
{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}