]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/messages.tmpl
Move patch-tracking.d.net to patch-tracker.d.o and update names (Closes: #545262)
[deb/packages.git] / templates / html / messages.tmpl
index 3d8b6a680c2fc98068cca2513de0fadf91721466..3faa76d97faf8b49fa31201851b99fa9bdc21fc6 100644 (file)
@@ -1,31 +1,16 @@
 <!-- messages.tmpl -->
 [%- FOREACH error IN errors %]
 [%- '<div class="perror">' IF loop.first %]
- <p>[% error %]</p>
+ <p>[% error | html %]</p>
 [% '</div>' IF loop.last -%]
 [% END -%]
 [%- FOREACH debug IN debugs %]
 [%- '<div class="pdebug"><h2>Debugging:</h2><pre>' IF loop.first -%]
-[% debug %]
+[% debug | html %]
 [% '</pre></div>' IF loop.last -%]
 [% END -%]
 [%- FOREACH hint IN hints %]
 [%- '<div class="phints">' IF loop.first %]
- <p>[% hint %]</p>
-[% '</div>' IF loop.last -%]
-[% END -%]
-[%- FOREACH msg IN msgs %]
-[%- '<div class="pmsgs">' IF loop.first %]
- <p>[% msg %]</p>
-[% '</div>' IF loop.last -%]
-[% END -%]
-[%- FOREACH note IN notes %]
-[%- '<div class="pnotes">' IF loop.first %]
-[%- IF note.1 %]
- <h2>[% note.0 %]</h2>
- <p>[% note.1 %]</p>
-[% ELSE %]
- <p>[% note.0 %]</p>
-[% END -%]
+ <p>[% hint | html %]</p>
 [% '</div>' IF loop.last -%]
 [% END -%]