]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 402745 - Improve the error message displayed when accessing summarize_time.cgi...
authorSunil Joshi <joshi_sunil@in.com>
Tue, 30 Jul 2013 17:27:36 +0000 (13:27 -0400)
committerDave Lawrence <dlawrence@mozilla.com>
Tue, 30 Jul 2013 17:27:36 +0000 (13:27 -0400)
summarize_time.cgi
template/en/default/global/user-error.html.tmpl

index d77634da5e822e1022317d54d487c27976304664..0d32d16e45966dca00853fd07c35174c5ea459e4 100755 (executable)
@@ -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');
index a52d1833f37fa45e41c632a4b6f91b6b0e71f8cf..65fb4f18aa4b91083b970a207a05f91a07ca4321 100644 (file)
       to modify.
     [% ELSIF action == "view" %]
       to view.
+    [% ELSIF action == 'summarize' %]
+      for viewing time summaries.
     [% END %]
 
   [% ELSIF error == "no_tag_to_edit" %]