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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
e8f4b8b0
Commit
e8f4b8b0
authored
Aug 15, 2013
by
Marc Schumann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 853638 - Status and resolution values in dependency graphs not localizable.
r=dkl, a=sgreen
parent
d65d0102
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Util.pm
Bugzilla/Util.pm
+1
-1
showdependencygraph.cgi
showdependencygraph.cgi
+4
-2
No files found.
Bugzilla/Util.pm
View file @
e8f4b8b0
...
...
@@ -21,7 +21,7 @@ use parent qw(Exporter);
format_time validate_date validate_time datetime_from
is_7bit_clean bz_crypt generate_random_password
validate_email_syntax check_email_syntax clean_text
get_text template_var disable_utf8
get_text template_var dis
play_value dis
able_utf8
detect_encoding email_filter
join_activity_entries)
;
...
...
showdependencygraph.cgi
View file @
e8f4b8b0
...
...
@@ -180,7 +180,7 @@ foreach my $k (@bug_ids) {
# Resolution and summary are shown only if user can see the bug
if
(
!
$user
->
can_see_bug
(
$k
))
{
$
resolution
=
$
summary
=
''
;
$summary
=
''
;
}
$vars
->
{
'short_desc'
}
=
$summary
if
(
$k
eq
$cgi
->
param
(
'id'
));
...
...
@@ -213,7 +213,9 @@ foreach my $k (@bug_ids) {
# Push the bug tooltip texts into a global hash so that
# CreateImagemap sub (used with local dot installations) can
# use them later on.
$bugtitles
{
$k
}
=
trim
(
"$stat $resolution"
);
my
$stat_display
=
display_value
(
'bug_status'
,
$stat
);
my
$resolution_display
=
display_value
(
'resolution'
,
$resolution
);
$bugtitles
{
$k
}
=
trim
(
"$stat_display $resolution_display"
);
# Show the bug summary in tooltips only if not shown on
# the graph and it is non-empty (the user can see the bug)
...
...
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