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
5d5597bb
Commit
5d5597bb
authored
Jul 30, 2013
by
Sunil Joshi
Committed by
Dave Lawrence
Jul 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 402745 - Improve the error message displayed when accessing summarize_time.cgi with no bug ID
parent
a79bcea6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
summarize_time.cgi
summarize_time.cgi
+1
-1
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+2
-0
No files found.
summarize_time.cgi
View file @
5d5597bb
...
...
@@ -254,7 +254,7 @@ $user->is_timetracker
my
@ids
=
split
(
","
,
$cgi
->
param
(
'id'
)
||
''
);
@ids
=
map
{
Bugzilla::
Bug
->
check
(
$_
)
->
id
}
@ids
;
scalar
(
@ids
)
||
ThrowUserError
(
'no_bugs_chosen'
,
{
action
=>
'
view
'
});
scalar
(
@ids
)
||
ThrowUserError
(
'no_bugs_chosen'
,
{
action
=>
'
summarize
'
});
my
$group_by
=
$cgi
->
param
(
'group_by'
)
||
"number"
;
my
$monthly
=
$cgi
->
param
(
'monthly'
);
...
...
template/en/default/global/user-error.html.tmpl
View file @
5d5597bb
...
...
@@ -1287,6 +1287,8 @@
to modify.
[% ELSIF action == "view" %]
to view.
[% ELSIF action == 'summarize' %]
for viewing time summaries.
[% END %]
[% ELSIF error == "no_tag_to_edit" %]
...
...
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