[MediaWiki-commits] [Gerrit] Move queries for bugs with ASSIGNED status - change (wikimedia...modifications)

2014-04-25 Thread Odder (Code Review)
Odder has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/129671

Change subject: Move queries for bugs with ASSIGNED status
..

Move queries for bugs with ASSIGNED status

Queries for bugs with ASSIGNED status should
be in lines of their own for clarity.

Change-Id: Id60335b7e6e0003e5cdb5aa57874f18942999cb7
---
M template/en/custom/index.html.tmpl
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/bugzilla/modifications 
refs/changes/71/129671/1

diff --git a/template/en/custom/index.html.tmpl 
b/template/en/custom/index.html.tmpl
index a40fb20..902b268 100644
--- a/template/en/custom/index.html.tmpl
+++ b/template/en/custom/index.html.tmpl
@@ -152,8 +152,12 @@
 [% title FILTER html %] ([% assignee_count FILTER html %])
    
-  
+ 
+   
+  
 (with ASSIGNED status)
+   
+ 
 
 
   [% title = BLOCK %]Reported by me[% END %]

-- 
To view, visit https://gerrit.wikimedia.org/r/129671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id60335b7e6e0003e5cdb5aa57874f18942999cb7
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/bugzilla/modifications
Gerrit-Branch: master
Gerrit-Owner: Odder 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits


[MediaWiki-commits] [Gerrit] Move queries for bugs with ASSIGNED status - change (wikimedia...modifications)

2014-06-11 Thread Dzahn (Code Review)
Dzahn has submitted this change and it was merged.

Change subject: Move queries for bugs with ASSIGNED status
..


Move queries for bugs with ASSIGNED status

Queries for bugs with ASSIGNED status should
be in line of their own for clarity.

Change-Id: Id60335b7e6e0003e5cdb5aa57874f18942999cb7
---
M index.cgi
M template/en/custom/index.html.tmpl
2 files changed, 12 insertions(+), 2 deletions(-)

Approvals:
  Aklapper: Looks good to me, but someone else must approve
  Dzahn: Verified; Looks good to me, approved



diff --git a/index.cgi b/index.cgi
index e52454c..9b27b0f 100644
--- a/index.cgi
+++ b/index.cgi
@@ -61,6 +61,9 @@
$vars->{assignee_count} =
  $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE assigned_to = ?
 AND resolution = ""', undef, $user->id);
+   $vars->{assignee_count_assigned} =
+ $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE assigned_to = ?
+AND bug_status = "ASSIGNED"', undef, $user->id);
$vars->{reporter_count} =
  $dbh->selectrow_array('SELECT COUNT(*) FROM bugs WHERE reporter = ?
 AND resolution = ""', undef, $user->id);
diff --git a/template/en/custom/index.html.tmpl 
b/template/en/custom/index.html.tmpl
index 6362c36..cd95189 100644
--- a/template/en/custom/index.html.tmpl
+++ b/template/en/custom/index.html.tmpl
@@ -136,8 +136,15 @@
 [% title FILTER html %] ([% assignee_count FILTER html %])
    
-  
-(with ASSIGNED status)
+  
+
+  [% title = BLOCK %]Assigned to me with ASSIGNED status[% END %]
+  
+[% title FILTER html %] ([% assignee_count_assigned FILTER 
html %])
+ 
+
+  
 
 
   [% title = BLOCK %]Reported by me[% END %]

-- 
To view, visit https://gerrit.wikimedia.org/r/129671
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id60335b7e6e0003e5cdb5aa57874f18942999cb7
Gerrit-PatchSet: 5
Gerrit-Project: wikimedia/bugzilla/modifications
Gerrit-Branch: master
Gerrit-Owner: Odder 
Gerrit-Reviewer: Aklapper 
Gerrit-Reviewer: Dzahn 
Gerrit-Reviewer: Odder 

___
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits