{* $Id: tracker_actions.tpl 40642 2012-04-02 13:49:16Z robertplummer $ *}
{* navbar buttons at the top of the tracker pages *}

<div data-role="navbar">
<ul>
{if $tiki_p_admin_trackers eq 'y' and !empty($trackerId)}
	<li>{button href="tiki-list_trackers.php?trackerId=$trackerId&show=mod" _text="{tr}Edit This Tracker{/tr}"}</li>
	<li>{button href="tiki-admin_tracker_fields.php?trackerId=$trackerId" _text="{tr}Edit Fields{/tr}"}</li>
{/if}

{if $tiki_p_list_trackers eq 'y'}
	<li>{button href="tiki-list_trackers.php" _text="{tr}Trackers{/tr}"}</li>
{/if}

{if !empty($trackerId) and $tiki_p_create_tracker_items eq 'y' and $prefs.feature_tabs ne 'y'}
	<li>{button href="tiki-view_tracker.php?trackerId=$trackerId#content2" _text="{tr}Create Item{/tr}"}</li>
{/if}

{if !empty($trackerId) and $tiki_p_view_trackers eq 'y'}
	<li>{button href="tiki-view_tracker.php?trackerId=$trackerId" _text="{tr}View Items{/tr}"}</li>
{/if}
</ul>
</div>
