projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified templates to use newline in the end of file.
[timetracker.git]
/
WEB-INF
/
templates
/
mobile
/
time_edit.tpl
diff --git
a/WEB-INF/templates/mobile/time_edit.tpl
b/WEB-INF/templates/mobile/time_edit.tpl
index
2dbd746
..
f6381d6
100644
(file)
--- a/
WEB-INF/templates/mobile/time_edit.tpl
+++ b/
WEB-INF/templates/mobile/time_edit.tpl
@@
-41,7
+41,7
@@
task_names = new Array();
empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}';
empty_label_task = '{$i18n.dropdown.select|escape:'javascript'}';
empty_label_project = '{$i18n.dropdown.select|escape:'javascript'}';
empty_label_task = '{$i18n.dropdown.select|escape:'javascript'}';
-// The
populate
Dropdowns function populates the "project" and "task" dropdown controls
+// The
fill
Dropdowns function populates the "project" and "task" dropdown controls
// with relevant values.
function fillDropdowns() {
if(document.body.contains(document.timeRecordForm.client))
// with relevant values.
function fillDropdowns() {
if(document.body.contains(document.timeRecordForm.client))
@@
-214,7
+214,7
@@
function get_date() {
<tr><td>{$i18n.label.client}:</td></tr>
<tr><td>{$forms.timeRecordForm.client.control}</td></tr>
{/if}
<tr><td>{$i18n.label.client}:</td></tr>
<tr><td>{$forms.timeRecordForm.client.control}</td></tr>
{/if}
-{if
in_array('iv', explode(',', $user->plugins)
)}
+{if
$user->isPluginEnabled('iv'
)}
<tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
{/if}
{if ($custom_fields && $custom_fields->fields[0])}
<tr><td><label>{$forms.timeRecordForm.billable.control}{$i18n.form.time.billable}</label></td></tr>
{/if}
{if ($custom_fields && $custom_fields->fields[0])}