Configirable option whether to show Week menu.
[timetracker.git] / WEB-INF / templates / time.tpl
index e32140a..0dcfd10 100644 (file)
@@ -8,7 +8,7 @@
 
 {$forms.timeRecordForm.open}
 <table cellspacing="4" cellpadding="0" border="0">
-{if $user->isPluginEnabled('wv')}
+{if $show_navigation}
   <tr>
     <td align="center" colspan=2">
       <a href="time.php?date={$selected_date->toString()}">{$i18n.label.day_view}</a>&nbsp;/&nbsp;<a href="week.php?date={$selected_date->toString()}">{$i18n.label.week_view}</a>