]> git.donarmstrong.com Git - debbugs.git/blob - templates/en_US/cgi/bugreport.tx
Use a checkbox and CSS to show info messages instead of JavaScript
[debbugs.git] / templates / en_US / cgi / bugreport.tx
1 <: include "html/pre_title.tx" :>#<: $bug.id :> - <: $bug.subject :> - <: $config.project :> <: $config.bug :> report logs<: include "html/post_title.tx" :>
2 <link rel="canonical" href="<: $bug.url :>">
3 </head>
4 <body>
5     <div class="debbugs_install"><: $config.project :> <: $config.bug :> report logs</div>
6     <h1 class="bug_header"><a class="bug_email" href="mailto:<: $bug.id :>@<: $config.email_domain :>">#<: $bug.id :></a>
7         <span class="bug_subject"><: $bug.subject :></span>
8     </h1>
9 : if $bug.has_found or $bug.has_fixed {
10     <div class="versiongraph">
11         <a href="<: $bug.version_url("format","svg") :>">
12             <img alt="version graph"
13                  src="<: $bug.version_url("format","svg","width",2,"height",2) :>">
14         </a></div>
15 : }
16 <: include "cgi/bugreport_pkginfo.tx" :>
17 <: include "cgi/bugreport_buginfo.tx" :>
18 <div class="bugreport_operations">
19 : if looks_like_number($msg) {
20     <span><a href="<: $bug.url :>">Full log</a></span>
21 : } else {
22 : if ! $status.archived {
23 <span><a href="mailto:<: $bug.email :>">Reply</a>
24 or <a href="mailto:<: $bug.subscribe_email :>">subscribe</a>
25 to this <: $config.bug :>.</span>
26 : }
27 <span>View this <: $config.bug :> as an
28     <a href="<: $bug.mbox_url :>">mbox</a>,
29     <a href="<: $bug.mbox_status_url :>">status mbox</a>, or
30     <a href="<: $bug.mbox_maint_url :>">maintainer mbox</a>
31 </span>
32 </div>
33 : }
34 <: raw($log) :>
35 <input id="uselessmessages" type="checkbox">
36 <label for="uselessmessages">Display info messages</label>
37 <hr>
38 <p class="msgreceived">Send a report that <a href="<: $config.cgi_domain :>/bugspam.cgi?bug=<: $bug_num :>">this bug log contains spam</a>.</p>
39 <hr>
40 <: include "html/html_tail.tx" :>
41 </body>
42 </html>