summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en/default
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal/template/en/default')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl11
1 files changed, 8 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
index b752a47fe..2e81f1aba 100644
--- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
@@ -225,11 +225,16 @@
[%
BLOCK activity_body;
+ classes = "activity";
+ style = "";
IF activity.cc_only && !change_set.cc_only;
- '<div class="activity cc-only" style="display:none">';
- ELSE;
- '<div class="activity">';
+ classes = classes _ " cc-only";
+ style = ' style="display:none"';
+ END;
+ IF change_set.comment && change_set.comment.collapsed;
+ style = ' style="display:none"';
END;
+ '<div class="' _ classes _ '"' _ style _ '>';
FOREACH change IN activity.changes;
IF change.fieldname == 'cc' && !activity.cc_only && !change_set.cc_only;