diff options
Diffstat (limited to 'extensions/InlineHistory/template/en')
-rw-r--r-- | extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl index 25100fe9a..3c4d4a202 100644 --- a/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl +++ b/extensions/InlineHistory/template/en/default/hook/bug/comments-aftercomments.html.tmpl @@ -25,14 +25,17 @@ [% FOREACH change = operation.changes %] [%# track flag changes %] [% IF change.fieldname == 'flagtypes.name' && change.added != '' %] - var item = new Array(5); - item[0] = '[% changer_login FILTER js %]'; - item[1] = '[% change_date FILTER js %]'; - item[2] = '[% change.attachid FILTER js %]'; - item[3] = '[% change.added FILTER js %]'; - item[4] = '[% changer_identity FILTER js %]'; - ih_activity_flags.push(item); - [% has_flag = 1 %] + [% new_flags = change.added.split('[ ,]+') %] + [% FOREACH new_flag IN new_flags %] + var item = new Array(5); + item[0] = '[% changer_login FILTER js %]'; + item[1] = '[% change_date FILTER js %]'; + item[2] = '[% change.attachid FILTER js %]'; + item[3] = '[% new_flag FILTER js %]'; + item[4] = '[% changer_identity FILTER js %]'; + ih_activity_flags.push(item); + [% has_flag = 1 %] + [% END %] [% END %] [%# wrap CC changes in a span for toggling visibility %] |