{extends "idf/wiki/base.html"} {block extraheader}{if $oldrev}{/if}{/block} {block docclass}yui-t3{assign $inResourceView=true}{/block} {block body} {assign $submitter = $oldrev.get_submitter()}{aurl 'url', 'IDF_Views_Wiki::viewResource', array($project.shortname, $resource.title)}

{blocktrans}You are looking at an old revision ({$oldrev.summary}) of the resource {$resource.title}. This revision was created by {$submitter}.{/blocktrans}

{blocktrans}If you delete this old revision, it will be removed from the database and you will not be able to recover it.{/blocktrans}

  | {trans 'Cancel'}

{$resource.summary}

{assign $preview = $oldrev.renderRaw()} {if $preview == ''} {assign $preview = __('Unable to render preview for this MIME type.')} {/if}

{$preview|unsafe}

{/block} {/block} {block context} {assign $submitter = $resource.get_submitter()}

{trans 'Created:'} {$resource.creation_dtime|dateago}
{blocktrans}by {$submitter}{/blocktrans}

{if $oldrev.creation_dtime != $resource.creation_dtime}

{assign $submitter = $oldrev.get_submitter()} {trans 'Updated:'} {$oldrev.creation_dtime|dateago}
{blocktrans}by {$submitter}{/blocktrans}

{/if} {if $revs.count() > 0}

{trans 'Old Revisions'}

{/if} {/block}