Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
e66be03f
Commit
e66be03f
authored
Dec 14, 2005
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 319718: Make summary the link title for bookmarkable templates.
Patch by Marc Schumann <wurblzap@gmail.com>, r=timeless, a=justdave
parent
0363ddf3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
post_bug.cgi
post_bug.cgi
+1
-0
make-template.html.tmpl
template/en/default/bug/create/make-template.html.tmpl
+12
-2
No files found.
post_bug.cgi
View file @
e66be03f
...
...
@@ -93,6 +93,7 @@ if (defined $cgi->param('product')) {
if
(
defined
$cgi
->
param
(
'maketemplate'
))
{
$vars
->
{
'url'
}
=
$cgi
->
query_string
();
$vars
->
{
'short_desc'
}
=
$cgi
->
param
(
'short_desc'
);
print
$cgi
->
header
();
$template
->
process
(
"bug/create/make-template.html.tmpl"
,
$vars
)
...
...
template/en/default/bug/create/make-template.html.tmpl
View file @
e66be03f
...
...
@@ -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:
“<a href="enter_bug.cgi?[% url FILTER html %]">[% terms.Bug %]
entry template</a>”.
“<a href="enter_bug.cgi?[% url FILTER html %]">
[% IF short_desc %]
[% short_desc FILTER html %]
[% ELSE %]
[% terms.Bug %] entry template
[% END %]</a>”.
This bookmark will bring up the <em>Enter [% terms.Bug %]</em> page with the
fields initialized as you've requested.
</p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment