summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-02-05 00:23:39 +0100
committerjocuri%softhome.net <>2004-02-05 00:23:39 +0100
commitef4cce63068b0f44c63b3ab4cb46f75502240259 (patch)
treea1c3ff31897774965a713174746db4318c5ba55f /template
parent4831ddd26807c9868baec3645255e2b762547ac0 (diff)
downloadbugzilla-ef4cce63068b0f44c63b3ab4cb46f75502240259.tar.gz
bugzilla-ef4cce63068b0f44c63b3ab4cb46f75502240259.tar.xz
Patch for bug 194472; link to the product's component editor when displaying error regarding lack of components; patch written by me based on the work and review of chaduv and jouni; r=kiko; a=justdave.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index ac6af177b..06ce6e441 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -529,7 +529,8 @@
Sorry; there needs to be at least one component for this product in order
to create a new [% terms.bug %].
[% IF UserInGroup("editcomponents") %]
- <a href="editcomponents.cgi">Create a new component</a>.
+ <a href="editcomponents.cgi?product=[% product FILTER url_quote %]">Create
+ a new component</a>.
[% ELSE %]
Please contact [% Param("maintainer") %], giving the name of
the product in which you tried to create a new [% terms.bug %].