--- index.cgi.bckup 2013-11-30 18:38:21.368461299 +0000 +++ index.cgi 2013-11-30 18:40:41.764519774 +0000 @@ -70,6 +70,19 @@ if ($user->in_group('admin')) { $vars->{'release'} = Bugzilla::Update::get_notifications(); } +if ($user->id) { + my $dbh = Bugzilla->dbh; + $vars->{assignee_count} = + $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE assigned_to = ? + AND resolution = ""', undef, $user->id); + $vars->{reporter_count} = + $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE reporter = ? + AND resolution = ""', undef, $user->id); + $vars->{requestee_count} = + $dbh->selectrow_array('SELECT COUNT(DISTINCT bug_id) FROM flags + WHERE requestee_id = ?', undef, $user->id); +} + # Generate and return the UI (HTML page) from the appropriate template. $template->process("index.html.tmpl", $vars) || ThrowTemplateError($template->error()); --- skins/standard/global.css.bckup 2013-12-15 15:34:18.347728799 +0000 +++ skins/standard/global.css 2013-12-15 15:34:43.863735526 +0000 @@ -254,6 +254,12 @@ div#docslinks { margin: 0; } +.rss { + background: transparent url(../../images/rss.png) no-repeat; + padding-left: 16px; + line-height: 1.5em; +} + /**************************/ /* Bug links and statuses */ /**************************/ --- template/en/custom/index.html.tmpl.bckup 2013-11-30 18:41:33.444540931 +0000 +++ template/en/custom/index.html.tmpl 2013-12-15 15:16:00.191436677 +0000 @@ -88,23 +88,134 @@ to report a bug for some pointer
-
[%# List items of links to more things users can do on this installation. %] [% Hook.process("links") %] -
+
-

Enter [% terms.abug %] # or some search terms:

+ Enter [% terms.abug %] # or some search terms: [Help] -
+
+ +
+

Common queries for open reports

+ + + + + +
+
    + [% IF user.id %] +
  • + [% title = BLOCK %]Assigned to me[% END %] + + [% title FILTER html %] ([% assignee_count FILTER html %]) +   + + (with ASSIGNED status) +
  • +
  • + [% title = BLOCK %]Reported by me[% END %] + + [% title FILTER html %] ([% reporter_count FILTER html %]) +   +
  • + [% IF Bugzilla.has_flags %] +
  • + [% title = BLOCK %]Requests addressed to me[% END %] + + [% title FILTER html %] ([% requestee_count FILTER html %]) +   +
  • + [% END %] + [% END %] + +
  • Actuality (also closed [% terms.bugs %]): +
      +
    • + Reported in + last 24 hours + [% title = BLOCK %][% terms.Bugs %] reported in the last 24 hours[% END %] +   + | last 7 days + [% title = BLOCK %][% terms.Bugs %] reported in the last 7 days[% END %] +   +
    • +
    • + Changed in + last 24 hours + [% title = BLOCK %][% terms.Bugs %] changed in the last 24 hours[% END %] +   + | last 7 days + [% title = BLOCK %][% terms.Bugs %] changed in the last 7 days[% END %] +   +
    • +
    +
  • +
  • Actionability: + +
  • +
+
+ +
+
[% Hook.process('outro') %]