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.
|
|
{extends "layout_view.tpl"}
|
|
|
|
|
|
{block name="title"}
|
|
|
{title}{$title}{/title}
|
|
|
{/block}
|
|
|
|
|
|
{block name="content"}
|
|
|
{if $current|count}
|
|
|
<h4>{tr}On this document{/tr}</h4>
|
|
|
<ul class="list-unstyled">
|
|
|
{foreach $current as $item}
|
|
|
<li><a href="{service controller=mustread action=list id=$item.object_id}">{$item.title|escape}</a></li>
|
|
|
{/foreach}
|
|
|
</ul>
|
|
|
{/if}
|
|
|
{if $canAdd}
|
|
|
<a class="btn btn-primary add-mustread-item" href="{service controller=tracker action=insert_item trackerId=$prefs.mustread_tracker forced=$fields}">{icon name="add"} {tr}Add Item{/tr}</a>
|
|
|
{/if}
|
|
|
{/block}
|