r9016 - /scripts/qa/templates/by_category

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Nov 8 08:51:36 UTC 2007


Author: dmn
Date: Thu Nov  8 08:51:36 2007
New Revision: 9016

URL: http://svn.debian.org/wsvn/?sc=1&rev=9016
Log:
Second attempt to remove package name from bug's subject; This time it uses 'replace' VMethod, as it seems 'remove' is missing from alioth's Template

Modified:
    scripts/qa/templates/by_category

Modified: scripts/qa/templates/by_category
URL: http://svn.debian.org/wsvn/scripts/qa/templates/by_category?rev=9016&op=diff
==============================================================================
--- scripts/qa/templates/by_category (original)
+++ scripts/qa/templates/by_category Thu Nov  8 08:51:36 2007
@@ -26,7 +26,7 @@
         </div>
         [% END %]
     </td>
-    <td>[% data.bts.$pkg.$s.subject | html %]</td>
+    <td>[% data.bts.$pkg.$s.subject.replace("^$pkg:\\s*","") | html %]</td>
 </tr>
 [% END #FOREACH %]
 </table>




More information about the Pkg-perl-cvs-commits mailing list