projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed charts to allow display of totals for unassigned projects and tasks.
[timetracker.git]
/
WEB-INF
/
templates
/
cf_custom_fields.tpl
diff --git
a/WEB-INF/templates/cf_custom_fields.tpl
b/WEB-INF/templates/cf_custom_fields.tpl
index
601c4fc
..
9b9266b
100644
(file)
--- a/
WEB-INF/templates/cf_custom_fields.tpl
+++ b/
WEB-INF/templates/cf_custom_fields.tpl
@@
-2,8
+2,8
@@
<table cellspacing="0" cellpadding="7" border="0" width="720">
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="7" border="0" width="720">
<tr>
<td valign="top">
-
{if $user->canManageTeam()}
-
<table cellspacing="1" cellpadding="3" border="0" width="100%">
+{if $user->canManageTeam()}
+ <table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
<td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
<td class="tableHeader">{$i18n.label.type}</td>
<tr>
<td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
<td class="tableHeader">{$i18n.label.type}</td>
@@
-11,28
+11,28
@@
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
<td class="tableHeader">{$i18n.label.edit}</td>
<td class="tableHeader">{$i18n.label.delete}</td>
</tr>
-
{if $custom_fields}
-
{foreach $custom_fields as $field}
+ {if $custom_fields}
+ {foreach $custom_fields as $field}
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$field['label']|escape:'html'}</td>
<tr bgcolor="{cycle values="#f5f5f5,#dedee5"}">
<td>{$field['label']|escape:'html'}</td>
-
{if CustomFields::TYPE_TEXT == $field['type']}
+ {if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
<td>{$i18n.label.type_text}</td>
<td></td>
-
{else
if CustomFields::TYPE_DROPDOWN == $field['type']}
+
{else
if CustomFields::TYPE_DROPDOWN == $field['type']}
<td>{$i18n.label.type_dropdown}</td>
<td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
<td>{$i18n.label.type_dropdown}</td>
<td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
-
{/if}
+ {/if}
<td><a href="cf_custom_field_edit.php?id={$field['id']}">{$i18n.label.edit}</a></td>
<td><a href="cf_custom_field_delete.php?id={$field['id']}">{$i18n.label.delete}</a></td>
</tr>
<td><a href="cf_custom_field_edit.php?id={$field['id']}">{$i18n.label.edit}</a></td>
<td><a href="cf_custom_field_delete.php?id={$field['id']}">{$i18n.label.delete}</a></td>
</tr>
-
{/foreach}
-
{/if}
+ {/foreach}
+ {/if}
</table>
</table>
-
+
<table width="100%">
<tr><td align="center"><br>{$forms.customFieldsForm.btn_add.control}</td></tr>
<table width="100%">
<tr><td align="center"><br>{$forms.customFieldsForm.btn_add.control}</td></tr>
-
</table>
-
{/if}
+ </table>
+{/if}
</td>
</tr>
</table>
</td>
</tr>
</table>