From e66be03f10864b3f4ecc4614d9b38333ca1487be Mon Sep 17 00:00:00 2001 From: "wurblzap%gmail.com" <> Date: Wed, 14 Dec 2005 04:43:49 +0000 Subject: Bug 319718: Make summary the link title for bookmarkable templates. Patch by Marc Schumann , r=timeless, a=justdave --- template/en/default/bug/create/make-template.html.tmpl | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'template/en/default') 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 + # Marc Schumann + #%] + +[%# 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 @@

You can bookmark this link: - “[% terms.Bug %] - entry template”. + “ + [% IF short_desc %] + [% short_desc FILTER html %] + [% ELSE %] + [% terms.Bug %] entry template + [% END %]”. This bookmark will bring up the Enter [% terms.Bug %] page with the fields initialized as you've requested.

-- cgit v1.2.3-24-g4f1b