From 3f5b25bce3759f95b6e5c009c93530a70a0151eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 26 Jun 2014 21:29:07 +0200 Subject: [PATCH] Give life to editHistory.tpl --- com.woltlab.wcf/templates/editHistory.tpl | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/com.woltlab.wcf/templates/editHistory.tpl b/com.woltlab.wcf/templates/editHistory.tpl index 49fdedbdee..70e5f49020 100644 --- a/com.woltlab.wcf/templates/editHistory.tpl +++ b/com.woltlab.wcf/templates/editHistory.tpl @@ -17,6 +17,54 @@ {include file='userNotice'}
{$diff}
+
+
+

{lang}wcf.edit.versions{/lang} {#$objects|count}

+
+ + + + + + + + + + {event name='columnHeads'} + + + + + + + + + + + + {event name='columns'} + + {foreach from=$objects item=edit} + + + + + + + + {event name='columns'} + + {/foreach} + +
{lang}wcf.global.objectID{/lang}{lang}wcf.user.username{/lang}{lang}wcf.edit.time{/lang}{lang}wcf.edit.reason{/lang}
+ + {event name='rowButtons'} + {lang}wcf.edit.currentVersion{/lang}{$object->getUsername()}{@$object->getTime()|time}{$object->getEditReason()}
+ + {event name='rowButtons'} + {@$edit->entryID}{$edit->username}{@$edit->time|time}{$edit->editReason}
+ +
{include file='footer'} -- 2.20.1