summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/create
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-12-14 05:43:49 +0100
committerwurblzap%gmail.com <>2005-12-14 05:43:49 +0100
commite66be03f10864b3f4ecc4614d9b38333ca1487be (patch)
treed555c70ee2ae86e61b661cd23913afc8cb171c85 /template/en/default/bug/create
parent0363ddf363d4742fc4e65ef1d461ec53d73342c5 (diff)
downloadbugzilla-e66be03f10864b3f4ecc4614d9b38333ca1487be.tar.gz
bugzilla-e66be03f10864b3f4ecc4614d9b38333ca1487be.tar.xz
Bug 319718: Make summary the link title for bookmarkable templates.
Patch by Marc Schumann <wurblzap@gmail.com>, r=timeless, a=justdave
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r--template/en/default/bug/create/make-template.html.tmpl14
1 files changed, 12 insertions, 2 deletions
diff --git a/template/en/default/bug/create/make-template.html.tmpl b/template/en/default/bug/create/make-template.html.tmpl
index f118f7f13..bf1e743c0 100644
--- a/template/en/default/bug/create/make-template.html.tmpl
+++ b/template/en/default/bug/create/make-template.html.tmpl
@@ -17,6 +17,12 @@
# Rights Reserved.
#
# Contributor(s): Gervase Markham <gerv@gerv.net>
+ # Marc Schumann <wurblzap@gmail.com>
+ #%]
+
+[%# INTERFACE:
+ # url: URL to a pre-filled bug entry form.
+ # short_desc: Bug summary as entered in the form.
#%]
[% PROCESS global/variables.none.tmpl %]
@@ -28,8 +34,12 @@
<p>
You can bookmark this link:
- &ldquo;<a href="enter_bug.cgi?[% url FILTER html %]">[% terms.Bug %]
- entry template</a>&rdquo;.
+ &ldquo;<a href="enter_bug.cgi?[% url FILTER html %]">
+ [% IF short_desc %]
+ [% short_desc FILTER html %]
+ [% ELSE %]
+ [% terms.Bug %] entry template
+ [% END %]</a>&rdquo;.
This bookmark will bring up the <em>Enter [% terms.Bug %]</em> page with the
fields initialized as you've requested.
</p>