aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/default/report/updates.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/web/default/report/updates.html b/templates/web/default/report/updates.html
new file mode 100644
index 000000000..2bacbde1d
--- /dev/null
+++ b/templates/web/default/report/updates.html
@@ -0,0 +1,28 @@
+[% FOREACH update IN updates.all %]
+[% IF loop.first %]
+<div id="updates">
+ <h2 class="problem-update-list-header">[% loc('Updates') %]</h2>
+[% END %]
+ <div><div class="problem-update"><p><a name="update_[% update.id %]"></a><em>
+ [% IF update.name %]
+ [% tprintf( loc( 'Posted by %s at %s' ), update.name, prettify_epoch( update.confirmed ) ) | html -%]
+ [%- ELSE %]
+ [% tprintf( loc( 'Posted anonymously at %s' ), prettify_epoch( update.confirmed ) ) -%]
+ [%- END -%]
+ [%- # extra cobrand meta data -%]
+ [%- ", " _ loc( 'marked as fixed' ) IF update.mark_fixed %]
+ [%- ", " _ loc( 'reopened' ) IF update.mark_open %]
+ </em></p>
+ </div>
+ [%# update reporting %]
+ <div class="update-text">
+ [% FOREACH line IN split_into_lines( update.text ) %]
+ <p>
+ [% line | html %]
+ </p>
+ [% END %]
+ </div>
+ [%# images %]
+ </div>
+[% '</div>' IF loop.last %]
+[% END %]