Conditionally showing Work plugin depending on WORK_DEBUG constant.
[timetracker.git] / WEB-INF / templates / plugins.tpl
index 97f7cdb..56868a6 100644 (file)
@@ -162,10 +162,12 @@ function handlePluginCheckboxes() {
             <td align="right" nowrap>{$forms.pluginsForm.attachments.control}</td>
             <td><label for="attachments">{$i18n.label.attachments}</label> <span id="attachments_doc"><a href="https://www.anuko.com/lp/tt_31.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
+{if isTrue('WORK_DEBUG')}
           <tr>
             <td align="right" nowrap>{$forms.pluginsForm.work.control}</td>
             <td><label for="work">{$i18n.title.work}</label> <span id="work_doc"><a href="https://www.anuko.com/lp/tt_34.htm" target="_blank">{$i18n.label.what_is_it}</a></span></td>
           </tr>
+{/if}
           <tr>
             <td colspan="2">&nbsp;</td>
           </tr>