From: Don Armstrong Date: Fri, 9 Mar 2018 00:27:11 +0000 (-0800) Subject: Merge branch 'text_xslate_templates' X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=757b392b853d7bc16592b9431d5275ca943684e4 Merge branch 'text_xslate_templates' --- 757b392b853d7bc16592b9431d5275ca943684e4 diff --cc debian/control index 0cb7162,8bac723..34e186c --- a/debian/control +++ b/debian/control @@@ -15,11 -15,8 +15,11 @@@ Build-Depends-Indep: libparams-validate libconfig-simple-perl, libtest-pod-perl, liblist-allutils-perl, # used by Debbugs::Libravatar and libravatar.cgi libfile-libmagic-perl, libgravatar-url-perl, libwww-perl, imagemagick, - libtext-template-perl, graphviz, libtext-iconv-perl, libnet-server-perl, - libtext-xslate-perl, graphviz, libtext-iconv-perl, libnet-server-perl -Homepage: http://wiki.debian.org/Teams/Debbugs ++ libtext-xslate-perl, graphviz, libtext-iconv-perl, libnet-server-perl, +# used to make the logo + inkscape +Homepage: https://salsa.debian.org/debbugs-team +Testsuite: autopkgtest-pkg-perl Package: debbugs Architecture: all diff --cc templates/en_US/cgi/bugreport.tx index 0000000,21f7c4e..67f9c5e mode 000000,100644..100644 --- a/templates/en_US/cgi/bugreport.tx +++ b/templates/en_US/cgi/bugreport.tx @@@ -1,0 -1,51 +1,52 @@@ + <: include "html/pre_title.tx" :>#<: $bug_num :> - <: $status.subject :> - <: $config.project :> <: $config.bug :> report logs<: include "html/post_title.tx" :> ++ + + + +
<: $config.project :> <: $config.bug :> report logs
+

#<: $bug_num :> + <: $status.subject :> +

+
<: raw($version_graph) :>
+ <: include "cgi/bugreport_pkginfo.tx" :> + <: include "cgi/bugreport_buginfo.tx" :> +
+ : if looks_like_number($msg) { + Full log + : } else { + : if ! $status.archived { + Reply + or subscribe + to this <: $config.bug :>. + : } + View this <: $config.bug :> as an + 1,options=>{mbox=>"yes"}) :>">mbox, + 1,options=>{mbox=>"yes",mboxstatus => "yes"}) :>">status mbox, or + 1,options=>{mbox=>"yes",mboxmaint => "yes"}) :>">maintainer mbox + +
+ : } + <: raw($log) :> + +
+

Send a report that this bug log contains spam.

+
+ <: include "html/html_tail.tx" :> + + diff --cc templates/en_US/html/pre_title.tx index 0000000,f6e17aa..8ea5bfe mode 000000,100644..100644 --- a/templates/en_US/html/pre_title.tx +++ b/templates/en_US/html/pre_title.tx @@@ -1,0 -1,3 +1,4 @@@ + + ++ +