projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed constructor function.
[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
94be51f
..
7a1b156
100644
(file)
--- a/
WEB-INF/templates/cf_custom_fields.tpl
+++ b/
WEB-INF/templates/cf_custom_fields.tpl
@@
-2,7
+2,7
@@
<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->can
ManageTeam(
)}
+{if $user->can
('manage_custom_fields'
)}
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
<td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr>
<td width="50%" class="tableHeader">{$i18n.label.thing_name}</td>
@@
-13,12
+13,12
@@
</tr>
{if $custom_fields}
{foreach $custom_fields as $field}
</tr>
{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,#
ffffff
"}">
+ <td>{$field['label']|escape}</td>
{if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
{if CustomFields::TYPE_TEXT == $field['type']}
<td>{$i18n.label.type_text}</td>
<td></td>
- {else
if CustomFields::TYPE_DROPDOWN == $field['type']}
+ {elseif 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>
{/if}
<td>{$i18n.label.type_dropdown}</td>
<td><a href="cf_dropdown_options.php?field_id={$field['id']}">{$i18n.label.configure}</a></td>
{/if}
@@
-36,4
+36,4
@@
</td>
</tr>
</table>
</td>
</tr>
</table>
-{$forms.customFieldsForm.close}
\ No newline at end of file
+{$forms.customFieldsForm.close}