]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 802873: Linkify component names in the "Edit Product" page
authorKoosha Khajeh Moogahi <koosha.khajeh@gmail.com>
Fri, 16 Nov 2012 15:49:34 +0000 (16:49 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Fri, 16 Nov 2012 15:49:34 +0000 (16:49 +0100)
r/a=LpSolit

template/en/default/admin/products/edit.html.tmpl

index 0936dbf718a7255e1ac9e3deaa8dcc76c69115ac..c3853012533ff3e4cf12386a52b59c4bd6a60c5a 100644 (file)
@@ -43,7 +43,9 @@
       <td>
         [% IF product.components.size -%]
           [% FOREACH component = product.components %]
-            <b>[% component.name FILTER html %]:</b>&nbsp;
+            <a href="editcomponents.cgi?action=edit&product=
+            [%- product.name FILTER uri %]&component=
+            [%- component.name FILTER uri %]">[% component.name FILTER html %]</a>:&nbsp;
             [% IF component.description %]
               [% component.description FILTER html_light %]
             [% ELSE %]