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
90062dd4
Commit
90062dd4
authored
Feb 23, 2011
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 609968 - Allow local See Also links to show status/summary when mouseover
r=timello,a=mkanat
parent
60712d5d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
Bugzilla.pm
Bugzilla/BugUrl/Bugzilla.pm
+5
-0
field.html.tmpl
template/en/default/bug/field.html.tmpl
+13
-4
No files found.
Bugzilla/BugUrl/Bugzilla.pm
View file @
90062dd4
...
@@ -59,4 +59,9 @@ sub _check_value {
...
@@ -59,4 +59,9 @@ sub _check_value {
return
$uri
;
return
$uri
;
}
}
sub
target_bug_id
{
my
(
$self
)
=
@_
;
return
new
URI
(
$self
->
name
)
->
query_param
(
'id'
);
}
1
;
1
;
template/en/default/bug/field.html.tmpl
View file @
90062dd4
...
@@ -165,8 +165,7 @@
...
@@ -165,8 +165,7 @@
[% '<ul class="bug_urls">' IF value.size %]
[% '<ul class="bug_urls">' IF value.size %]
[% FOREACH bug_url = value %]
[% FOREACH bug_url = value %]
<li>
<li>
<a href="[% bug_url.name FILTER html %]">
[% PROCESS bug_url_link bug_url = bug_url %]
[% bug_url.name FILTER html %]</a>
<label><input type="checkbox" value="[% bug_url.name FILTER html %]"
<label><input type="checkbox" value="[% bug_url.name FILTER html %]"
name="remove_[% field.name FILTER html %]">
name="remove_[% field.name FILTER html %]">
Remove</label>
Remove</label>
...
@@ -215,8 +214,9 @@
...
@@ -215,8 +214,9 @@
[% ELSIF field.type == constants.FIELD_TYPE_BUG_URLS %]
[% ELSIF field.type == constants.FIELD_TYPE_BUG_URLS %]
[% '<ul class="bug_urls">' IF value.size %]
[% '<ul class="bug_urls">' IF value.size %]
[% FOREACH bug_url = value %]
[% FOREACH bug_url = value %]
<li><a href="[% bug_url.name FILTER html %]">
<li>
[% bug_url.name FILTER html %]</a></li>
[% PROCESS bug_url_link bug_url = bug_url %]
</li>
[% END %]
[% END %]
[% '</ul>' IF value.size %]
[% '</ul>' IF value.size %]
[% ELSE %]
[% ELSE %]
...
@@ -237,3 +237,12 @@
...
@@ -237,3 +237,12 @@
[% ELSE %]
[% ELSE %]
[% extra_field_item = '' %]
[% extra_field_item = '' %]
[% END %]
[% END %]
[% BLOCK bug_url_link %]
[% IF bug_url.isa('Bugzilla::BugUrl::Bugzilla::Local') %]
[% bug_url.target_bug_id FILTER bug_link(bug_url.target_bug_id, use_alias => 1) FILTER none %]
[% ELSE %]
<a href="[% bug_url.name FILTER html %]">
[% bug_url.name FILTER html %]</a>
[% END %]
[% END %]
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