Added the deletion of old revisions of the wiki pages.
This commit is contained in:
@@ -18,6 +18,9 @@ by {$submitter}.{/blocktrans}</p>
|
||||
{markdown $rev.content, $request}
|
||||
{else}
|
||||
{markdown $oldrev.content, $request}
|
||||
{if $isOwner or $isAdmin}{aurl 'url', 'IDF_Views_Wiki::deleteRev', array($project.shortname, $oldrev.id)}
|
||||
<p class="delp"><a href="{$url}" title="{trans 'Delete this revision'}"><img src="{media '/idf/img/trash.png'}" style="vertical-align: text-bottom;" alt="{trans 'Trash'}" /></a> <a href="{$url}">{trans 'Delete this revision'}</a></p>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{/block}
|
||||
|
Reference in New Issue
Block a user