]>
Commit | Line | Data |
---|---|---|
eaafe284 ER |
1 | 19:19:13 < glen_> i didn't do customer section as i don't have customer backend configured |
2 | 19:20:02 < glen_> in emails section 'all' and 'disassociate selected' are visible. maybe should hide them too | |
3 | 19:20:15 < glen_> same for drafts section 'show all drafts' checkbox | |
4 | 19:21:43 < glen_> drafts has additionally another style: {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if} | |
5 | 19:21:59 < glen_> which will probably work together with {get_display_style element_name="drafts" total=$drafts|@count} | |
6 | 19:22:05 < glen_> as they both set style=".. | |
7 | 19:22:42 < glen_> otherwise it's cool | |
8 | ||
9 | diff -u ./templates/en/attachments.tpl.html ./templates/en.new/attachments.tpl.html | |
10 | --- ./templates/en/attachments.tpl.html 2006-02-09 18:17:19.000000000 +0200 | |
11 | +++ ./templates/en.new/attachments.tpl.html 2006-02-09 18:48:39.255119000 +0200 | |
12 | @@ -46,10 +46,10 @@ | |
13 | {/if} | |
14 | </td> | |
15 | </tr> | |
16 | - <tr id="attachments1" {get_display_style element_name="attachments"}> | |
17 | + <tr> | |
18 | <td colspan="2"> | |
19 | <table width="100%" cellpadding="2" cellspacing="1"> | |
20 | - <tr> | |
21 | + <tr id="attachments1" {get_display_style element_name="attachments"}> | |
22 | <td class="default_white" bgcolor="{$cell_color}">Files</td> | |
23 | <td class="default_white" bgcolor="{$cell_color}">Owner</td> | |
24 | {if $current_role > $roles.customer} | |
25 | @@ -60,7 +60,7 @@ | |
26 | </tr> | |
27 | {section name="i" loop=$files} | |
28 | {cycle values=$cycle assign="row_color"} | |
29 | - <tr bgcolor="{$row_color}"> | |
30 | + <tr id="attachments{$smarty.section.i.iteration+1}" {get_display_style element_name="attachments"} bgcolor="{$row_color}"> | |
31 | <td class="default"> | |
32 | {section name="y" loop=$files[i].files} | |
33 | <a title="download file ({$files[i].files[y].iaf_filename|escape:"html"} - {$files[i].files[y].iaf_filesize})" href="download.php?cat=attachment&id={$files[i].files[y].iaf_id}"><img width="17" height="17" src="{$rel_url}images/file.gif" border="0"></a> | |
34 | @@ -86,7 +86,7 @@ | |
35 | <td class="default" width="45%">{$files[i].iat_description}</td> | |
36 | </tr> | |
37 | {sectionelse} | |
38 | - <tr> | |
39 | + <tr id="attachments2" {get_display_style element_name="attachments"}> | |
40 | <td colspan="{if $current_role > $roles.customer}5{else}4{/if}" bgcolor="{$light_color}" align="center" class="default"> | |
41 | <i>No attachments could be found.</i> | |
42 | </td> | |
43 | diff -u ./templates/en/custom_fields.tpl.html ./templates/en.new/custom_fields.tpl.html | |
44 | --- ./templates/en/custom_fields.tpl.html 2006-02-09 18:17:19.000000000 +0200 | |
45 | +++ ./templates/en.new/custom_fields.tpl.html 2006-02-09 18:54:29.817759000 +0200 | |
46 | @@ -27,12 +27,12 @@ | |
47 | {/if} | |
48 | </td> | |
49 | </tr> | |
50 | - <tr id="custom_fields1" {get_display_style element_name="custom_fields" total=$custom_fields|@count}> | |
51 | + <tr> | |
52 | <td colspan="2"> | |
53 | <table width="100%" cellpadding="2" cellspacing="1"> | |
54 | {section name="i" loop=$custom_fields} | |
55 | {cycle values=$cycle assign="row_color"} | |
56 | - <tr {if $custom_fields[i].hide_when_no_options == 1 && $custom_fields[i].icf_value == ''}style="display: none"{/if}> | |
57 | + <tr id="custom_fields{$smarty.section.i.iteration}" {get_display_style element_name="custom_fields" total=$custom_fields|@count} {if $custom_fields[i].hide_when_no_options == 1 && $custom_fields[i].icf_value == ''}style="display: none"{/if}> | |
58 | <td bgcolor="{if $custom_fields[i].fld_min_role > $roles.customer}{$internal_color}{else}{$cell_color}{/if}" class="default_white"> | |
59 | <nobr><b>{$custom_fields[i].fld_title}:</b> </nobr> | |
60 | </td> | |
61 | @@ -45,14 +45,14 @@ | |
62 | </td> | |
63 | </tr> | |
64 | {sectionelse} | |
65 | - <tr> | |
66 | + <tr id="custom_fields1" {get_display_style element_name="custom_fields" total=$custom_fields|@count}> | |
67 | <td colspan="2" bgcolor="{$light_color}" align="center" class="default"> | |
68 | <i>No custom fields could be found.</i> | |
69 | </td> | |
70 | </tr> | |
71 | {/section} | |
72 | {if $current_role > $roles.reporter and $custom_fields != ""} | |
73 | - <tr id="custom_fields2" {get_display_style element_name="custom_fields"}> | |
74 | + <tr> | |
75 | <td align="center" colspan="2" bgcolor="{$cell_color}"> | |
76 | <input class="button" type="button" value="Update" onClick="javascript:updateCustomFields({$smarty.get.id});"> | |
77 | </td> | |
78 | Common subdirectories: ./templates/en/customer and ./templates/en.new/customer | |
79 | diff -u ./templates/en/email_drafts.tpl.html ./templates/en.new/email_drafts.tpl.html | |
80 | --- ./templates/en/email_drafts.tpl.html 2006-02-09 18:17:19.000000000 +0200 | |
81 | +++ ./templates/en.new/email_drafts.tpl.html 2006-02-09 19:12:46.908484000 +0200 | |
82 | @@ -49,10 +49,10 @@ | |
83 | {/if} | |
84 | </td> | |
85 | </tr> | |
86 | - <tr id="drafts1" {get_display_style element_name="drafts" total=$drafts|@count}> | |
87 | + <tr> | |
88 | <td colspan="2"> | |
89 | <table width="100%" cellpadding="2" cellspacing="1"> | |
90 | - <tr bgcolor="{$internal_color}"> | |
91 | + <tr id="drafts1" {get_display_style element_name="drafts" total=$drafts|@count} bgcolor="{$internal_color}"> | |
92 | <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getDraft" ec_id="draft"}</td> | |
93 | <td width="5" class="default_white" align="center">#</td> | |
94 | {if $smarty.request.show_all_drafts == 1} | |
95 | @@ -65,7 +65,7 @@ | |
96 | </tr> | |
97 | {section name="i" loop=$drafts} | |
98 | {cycle values=$cycle assign="row_color"} | |
99 | - <tr {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if}> | |
100 | + <tr id="drafts{$smarty.section.i.iteration+1}" {get_display_style element_name="drafts" total=$drafts|@count} {if $drafts[i].emd_status != 'pending'}style="text-decoration: line-through;"{/if}> | |
101 | <td class="default" NOWRAP bgcolor="{$row_color}">{include file="expandable_cell/buttons.tpl.html" ec_id="draft" list_id=$drafts[i].emd_id}</td> | |
102 | <td width="5" class="default" bgcolor="{$row_color}" align="center">{$smarty.section.i.iteration}</td> | |
103 | {if $smarty.request.show_all_drafts == 1} | |
104 | @@ -80,7 +80,7 @@ | |
105 | </tr> | |
106 | {include file="expandable_cell/body.tpl.html" ec_id="draft" list_id=$drafts[i].emd_id colspan=$draft_col_count} | |
107 | {sectionelse} | |
108 | - <tr> | |
109 | + <tr id="drafts2" {get_display_style element_name="drafts" total=$drafts|@count}> | |
110 | <td colspan="{$draft_col_count}" bgcolor="{$light_color}" class="default" align="center"> | |
111 | <i>No email drafts could be found.</i> | |
112 | </td> | |
113 | Common subdirectories: ./templates/en/expandable_cell and ./templates/en.new/expandable_cell | |
114 | Common subdirectories: ./templates/en/help and ./templates/en.new/help | |
115 | Common subdirectories: ./templates/en/js and ./templates/en.new/js | |
116 | Common subdirectories: ./templates/en/manage and ./templates/en.new/manage | |
117 | diff -u ./templates/en/notes.tpl.html ./templates/en.new/notes.tpl.html | |
118 | --- ./templates/en/notes.tpl.html 2006-02-09 18:17:19.000000000 +0200 | |
119 | +++ ./templates/en.new/notes.tpl.html 2006-02-09 18:51:33.362363000 +0200 | |
120 | @@ -59,10 +59,10 @@ | |
121 | {/if} | |
122 | </td> | |
123 | </tr> | |
124 | - <tr id="notes1" {get_display_style element_name="notes" total=$notes|@count}> | |
125 | + <tr> | |
126 | <td colspan="2"> | |
127 | <table width="100%" cellpadding="2" cellspacing="1"> | |
128 | - <tr bgcolor="{$internal_color}"> | |
129 | + <tr id="notes1" {get_display_style element_name="notes" total=$notes|@count} bgcolor="{$internal_color}"> | |
130 | <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getNote" ec_id="note"}</td> | |
131 | <td class="default_white" align="center">#</td> | |
132 | <td class="default_white">Reply</td> | |
133 | @@ -72,7 +72,7 @@ | |
134 | </tr> | |
135 | {section name="i" loop=$notes} | |
136 | {cycle values=$cycle assign="row_color"} | |
137 | - <tr bgcolor="{$row_color}"> | |
138 | + <tr id="notes{$smarty.section.i.iteration+1}" {get_display_style element_name="notes" total=$notes|@count} bgcolor="{$row_color}"> | |
139 | <td class="default" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="note" list_id=$notes[i].not_id}</td> | |
140 | <td class="default" align="center">{$smarty.section.i.iteration}</td> | |
141 | <td align="center"> | |
142 | @@ -90,7 +90,7 @@ | |
143 | </tr> | |
144 | {include file="expandable_cell/body.tpl.html" ec_id="note" list_id=$notes[i].not_id colspan="6"} | |
145 | {sectionelse} | |
146 | - <tr> | |
147 | + <tr id="notes2" {get_display_style element_name="notes" total=$notes|@count}> | |
148 | <td colspan="6" bgcolor="{$light_color}" align="center" class="default"> | |
149 | <i>No internal notes could be found.</i> | |
150 | </td> | |
151 | Common subdirectories: ./templates/en/notifications and ./templates/en.new/notifications | |
152 | diff -u ./templates/en/phone_support.tpl.html ./templates/en.new/phone_support.tpl.html | |
153 | --- ./templates/en/phone_support.tpl.html 2006-02-09 18:17:18.000000000 +0200 | |
154 | +++ ./templates/en.new/phone_support.tpl.html 2006-02-09 19:09:06.666312000 +0200 | |
155 | @@ -39,10 +39,10 @@ | |
156 | {/if} | |
157 | </td> | |
158 | </tr> | |
159 | - <tr id="phone_support1" {get_display_style element_name="phone_support" total=$phone_entries|@count}> | |
160 | + <tr> | |
161 | <td colspan="2"> | |
162 | <table bgcolor="#FFFFFF" width="100%" cellspacing="1" cellpadding="2"> | |
163 | - <tr bgcolor="{$internal_color}"> | |
164 | + <tr id="phone_support1" {get_display_style element_name="phone_support" total=$phone_entries|@count} bgcolor="{$internal_color}"> | |
165 | <td class="default_white" NOWRAP>{include file="expandable_cell/buttons.tpl.html" remote_func="getPhoneSupport" ec_id="phone"}</td> | |
166 | <td width="5" class="default_white" align="center">#</td> | |
167 | <td width="20%" class="default_white" nowrap>Recorded Date</td> | |
168 | @@ -55,7 +55,7 @@ | |
169 | </tr> | |
170 | {section name="i" loop=$phone_entries} | |
171 | {cycle values=$cycle assign="row_color"} | |
172 | - <tr bgcolor="{$row_color}"> | |
173 | + <tr id="phone_support{$smarty.section.i.iteration+1}" {get_display_style element_name="phone_support" total=$phone_entries|@count} bgcolor="{$row_color}"> | |
174 | <td class="default" NOWRAP>{include file="expandable_cell/buttons.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id}</td> | |
175 | <td class="default" nowrap>{$smarty.section.i.iteration}</td> | |
176 | <td class="default" nowrap>{$phone_entries[i].phs_created_date}</td> | |
177 | @@ -73,14 +73,14 @@ | |
178 | </tr> | |
179 | {include file="expandable_cell/body.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id colspan="9"} | |
180 | {sectionelse} | |
181 | - <tr> | |
182 | + <tr id="phone_support2" {get_display_style element_name="phone_support" total=$phone_entries|@count}> | |
183 | <td colspan="9" bgcolor="{$light_color}" class="default" align="center"> | |
184 | <i>No phone calls recorded yet.</i> | |
185 | </td> | |
186 | </tr> | |
187 | {/section} | |
188 | {if $current_role > $roles.customer} | |
189 | - <tr id="phone_support11" {get_display_style element_name="phone_support"}> | |
190 | + <tr> | |
191 | <td colspan="9" bgcolor="{$internal_color}" align="center"> | |
192 | <input type="submit" value="Add Phone Call" class="button" onClick="javascript:addPhoneCall();"> | |
193 | </td> | |
194 | Common subdirectories: ./templates/en/reminders and ./templates/en.new/reminders | |
195 | Common subdirectories: ./templates/en/reports and ./templates/en.new/reports | |
196 | diff -u ./templates/en/support_emails.tpl.html ./templates/en.new/support_emails.tpl.html | |
197 | --- ./templates/en/support_emails.tpl.html 2006-02-09 18:17:18.000000000 +0200 | |
198 | +++ ./templates/en.new/support_emails.tpl.html 2006-02-09 19:14:11.133904000 +0200 | |
199 | @@ -65,10 +65,10 @@ | |
200 | {/if} | |
201 | </td> | |
202 | </tr> | |
203 | - <tr id="support_emails1" {get_display_style element_name="support_emails" total=$emails|@count}> | |
204 | + <tr> | |
205 | <td colspan="2"> | |
206 | <table width="100%" cellpadding="2" cellspacing="1"> | |
207 | - <tr bgcolor="{$cell_color}"> | |
208 | + <tr id="support_emails1" {get_display_style element_name="support_emails" total=$emails|@count} bgcolor="{$cell_color}"> | |
209 | {if $emails != "" and $current_role > $roles.viewer and $current_role != $roles.customer} | |
210 | <td width="5"><input type="button" value="All" class="shortcut" onClick="javascript:toggleSelectAll(this.form, 'item[]');"></td> | |
211 | {/if} | |
212 | @@ -82,7 +82,7 @@ | |
213 | </tr> | |
214 | {section name="i" loop=$emails} | |
215 | {cycle values=$cycle assign="row_color"} | |
216 | - <tr> | |
217 | + <tr id="support_emails{$smarty.section.i.iteration+1}" {get_display_style element_name="support_emails" total=$emails|@count}> | |
218 | {if $current_role > $roles.viewer and $current_role != $roles.customer} | |
219 | <td align="center" bgcolor="{$row_color}"> | |
220 | <input type="checkbox" name="item[]" value="{$emails[i].sup_id}"> | |
221 | @@ -113,7 +113,7 @@ | |
222 | </tr> | |
223 | {include file="expandable_cell/body.tpl.html" ec_id="email" list_id=$emails[i].composite_id colspan=$email_col_count row_color=$row_color} | |
224 | {sectionelse} | |
225 | - <tr> | |
226 | + <tr id="support_emails2" {get_display_style element_name="support_emails" total=$emails|@count}> | |
227 | <td colspan="{$email_col_count}" bgcolor="{$light_color}" class="default" align="center"> | |
228 | <i>No associated emails could be found.</i> | |
229 | </td> | |
230 | diff -u ./templates/en/time_tracking.tpl.html ./templates/en.new/time_tracking.tpl.html | |
231 | --- ./templates/en/time_tracking.tpl.html 2006-02-09 18:17:18.000000000 +0200 | |
232 | +++ ./templates/en.new/time_tracking.tpl.html 2006-02-09 19:07:36.684524000 +0200 | |
233 | @@ -40,10 +40,10 @@ | |
234 | {/if} | |
235 | </td> | |
236 | </tr> | |
237 | - <tr id="time_tracker1" {get_display_style element_name="time_tracker" total=$time_entries|@count}> | |
238 | + <tr> | |
239 | <td colspan="2" class="default" width="100%"> | |
240 | <table width="100%" cellpadding="2" cellspacing="1"> | |
241 | - <tr bgcolor="{$internal_color}"> | |
242 | + <tr id="time_tracker1" {get_display_style element_name="time_tracker" total=$time_entries|@count} bgcolor="{$internal_color}"> | |
243 | <td class="default_white" align="center" width="5">#</td> | |
244 | <td class="default_white" nowrap>Date of Work</td> | |
245 | <td class="default_white" nowrap>User</td> | |
246 | @@ -53,7 +53,7 @@ | |
247 | </tr> | |
248 | {section name="i" loop=$time_entries} | |
249 | {cycle values=$cycle assign="row_color"} | |
250 | - <tr bgcolor="{$row_color}"> | |
251 | + <tr id="time_tracker{$smarty.section.i.iteration+1}" {get_display_style element_name="time_tracker" total=$time_entries|@count} bgcolor="{$row_color}"> | |
252 | <td class="default" align="center">{$smarty.section.i.iteration}</td> | |
253 | <td class="default" nowrap>{$time_entries[i].ttr_created_date}</td> | |
254 | <td class="default" nowrap> | |
255 | @@ -65,13 +65,13 @@ | |
256 | <td class="default">{$time_entries[i].ttr_summary}</td> | |
257 | </tr> | |
258 | {if $smarty.section.i.last} | |
259 | - <tr> | |
260 | + <tr id="time_tracker{math equation="2 + x" x=$time_entries|@count}" {get_display_style element_name="time_tracker" total=$time_entries|@count}> | |
261 | <td bgcolor="{$internal_color}" colspan="3" class="default_white" align="right">Total Time Spent:</td> | |
262 | <td bgcolor="{$dark_color}" colspan="3" class="default">{$total_time_spent}</td> | |
263 | </tr> | |
264 | {/if} | |
265 | {sectionelse} | |
266 | - <tr> | |
267 | + <tr id="time_tracker2" {get_display_style element_name="time_tracker" total=$time_entries|@count}> | |
268 | <td colspan="6" bgcolor="{$light_color}" align="center" class="default"> | |
269 | <i>No time tracking entries could be found.</i> | |
270 | </td> | |
271 | Common subdirectories: ./templates/en/tips and ./templates/en.new/tips |