tracker_actions.tpl 881 Bytes
Newer Older
chealer's avatar
chealer committed
1
{* $Id$ *}
2
{* navbar buttons at the top of the tracker pages *}
3
<div class="btn-group">
4

5
{if $tiki_p_admin_trackers eq 'y' and !empty($trackerId)}
6 7 8 9
	<a class="btn btn-default" href="{bootstrap_modal controller=tracker action=replace trackerId=$trackerId}">
		{icon name="settings"} {tr}Properties{/tr}
	</a>
	<a class="btn btn-default" href="tiki-admin_tracker_fields.php?trackerId={$trackerId|escape}">
10
		{icon name="th-list"} {tr}Fields{/tr}
11
	</a>
12 13
{/if}

14
{if $tiki_p_list_trackers eq 'y'}
15
	<a class="btn btn-default" href="{if $prefs.feature_sefurl eq 'y'}trackers{else}tiki-list_trackers.php{/if}">
16 17
		{icon name="trackers"} {tr}Trackers{/tr}
	</a>
18 19
{/if}

20 21 22 23
{if !empty($trackerId) and $tiki_p_view_trackers eq 'y' && (empty($showitems) || $showitems !== 'n')}
	<a class="btn btn-default" href="{$trackerId|sefurl:"tracker"}">
		{icon name="list"} {tr}Items{/tr}
	</a>
24
{/if}
25

26
</div>