You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
1.1 KiB

{extends 'layout_view.tpl'}
{block name="title"}
{title}{$title|escape}{/title}
{/block}
{block name="content"}
{if $status neq 'DONE'}
<form method="post" action="{service controller="comment" action="archive"}">
<div class="card">
<div class="card-header">
{if $do eq 'archive'}
{tr}Are you sure you want to archive this comment?{/tr}
{else}
{tr}Are you sure you want to unarchive this comment?{/tr}
{/if}
</div>
<div class="card-body">
<input type="hidden" name="do" value="{$do|escape}">
<input type="hidden" name="threadId" value="{$threadId|escape}">
<input type="hidden" name="confirm" value="1">
<input type="submit" class="btn btn-primary" value="{tr}Confirm{/tr}">
{object_link type=$type id=$objectId title="{tr}Cancel{/tr}"}
</div>
</div>
</form>
{/if}
{/block}