diff --git a/src/IDF/templates/idf/wiki/view.html b/src/IDF/templates/idf/wiki/view.html index 96ae5cd..21594cd 100644 --- a/src/IDF/templates/idf/wiki/view.html +++ b/src/IDF/templates/idf/wiki/view.html @@ -10,7 +10,7 @@ use it as reference only if you are sure you need these specific information.{/b {/if} {if $oldrev} -{assign $submitter = $oldrev.get_submitter()}{aurl 'url', 'IDF_Views_Wiki::view', array($project.shortname, $page.title)} +{ashowuser 'submitter', $oldrev.get_submitter(), $request}{aurl 'url', 'IDF_Views_Wiki::view', array($project.shortname, $page.title)}
{blocktrans}You are looking at an old revision of the page {$page.title}. This revision was created @@ -31,9 +31,9 @@ by {$submitter}.{/blocktrans}
{/block} {block context} -{assign $submitter = $page.get_submitter()} +{ashowuser 'submitter', $page.get_submitter(), $request}{trans 'Created:'} {$page.creation_dtime|dateago}
{blocktrans}by {$submitter}{/blocktrans}
{assign $submitter = $rev.get_submitter()} +{if $rev.creation_dtime != $page.creation_dtime}
{ashowuser 'submitter', $rev.get_submitter(), $request}
{trans 'Updated:'} {$rev.creation_dtime|dateago}
{blocktrans}by {$submitter}{/blocktrans}