]> git.donarmstrong.com Git - debbugs.git/commitdiff
Display and link to SVG version graph everywhere
authorJessica Clarke <jrtc27@debian.org>
Sat, 6 Jul 2019 11:29:36 +0000 (12:29 +0100)
committerDon Armstrong <don@donarmstrong.com>
Sun, 10 Jan 2021 05:01:22 +0000 (21:01 -0800)
templates/en_US/cgi/bugreport.tx
templates/en_US/cgi/short_bug_status.tx

index 6e7fef4378fbc423de5285b2ed19d55c8174f320..361a3b4b4748d7e96d26be06c6b51017140f9797 100644 (file)
@@ -23,9 +23,9 @@ function toggle_infmessages()
     </h1>
 : if $bug.has_found or $bug.has_fixed {
     <div class="versiongraph">
-        <a href="<: $bug.version_url :>">
+        <a href="<: $bug.version_url("format","svg") :>">
             <img alt="version graph"
-                 src="<: $bug.version_url("width",2,"height",2) :>">
+                 src="<: $bug.version_url("format","svg","width",2,"height",2) :>">
         </a></div>
 : }
 <: include "cgi/bugreport_pkginfo.tx" :>
index 73de0cd168cb57e9a30feb5f140aa9baf177568d..5bff77e024069abc05ac3961c9d6751562566fc6 100644 (file)
           <:- } -:>
           <:- if $bug.has_found { -:>
           <tr><td>Found in version<: if $bug.status.found_count > 1 { :>s<: } :></td>
-              <td><a href="<: $bug.version_url :>"><:- $bug.status.found_join(', ') -:></a></td></tr>
+              <td><a href="<: $bug.version_url("format","svg") :>"><:- $bug.status.found_join(', ') -:></a></td></tr>
           <:- } -:>
               <:- if $bug.has_fixed { :>
               <tr><td>Fixed in version<: if $bug.status.fixed_count > 1 { :>s<: } :></td><td>
-                  <a href="<: $bug.version_url :>"><:- $bug.status.fixed_join(', ') -:></a></td></tr>
+                  <a href="<: $bug.version_url("format","svg") :>"><:- $bug.status.fixed_join(', ') -:></a></td></tr>
           <:- } -:>
           <:- if $bug.has_found or $bug.has_fixed { -:>
       </a>