{* $Id: tracker_actions.tpl 54572 2015-03-19 22:37:10Z lindonb $ *}
{* navbar buttons at the top of the tracker pages *}
<div class="btn-group">

{if $tiki_p_admin_trackers eq 'y' and !empty($trackerId)}
	<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}">
		{icon name="trackerfields"} {tr}Fields{/tr}
	</a>
{/if}

{if $tiki_p_list_trackers eq 'y'}
	<a class="btn btn-default" href="tiki-list_trackers.php">
		{icon name="trackers"} {tr}Trackers{/tr}
	</a>
{/if}

{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>
{/if}

</div>
