]> source.dussan.org Git - gitblit.git/commitdiff
Added the "you are responsible of" filter in "my tickets" page.
authorHybris95 <hybris_95@hotmail.com>
Fri, 25 Apr 2014 12:55:40 +0000 (14:55 +0200)
committerJames Moger <james.moger@gitblit.com>
Thu, 1 May 2014 20:14:15 +0000 (16:14 -0400)
src/main/java/com/gitblit/wicket/GitBlitWebApp.properties
src/main/java/com/gitblit/wicket/GitBlitWebApp_fr.properties
src/main/java/com/gitblit/wicket/pages/MyTicketsPage.html
src/main/java/com/gitblit/wicket/pages/MyTicketsPage.java

index 030c5ebeb6d5ad7c22afcf9f25e341a147f56d45..89ccaa3ded7faafc71eee99df7a6599cd8ac38d0 100644 (file)
@@ -678,4 +678,5 @@ gb.notifyChangedOpenTickets = send notification for changed open tickets
 gb.overdue = overdue
 gb.openMilestones = open milestones
 gb.closedMilestones = closed milestones
-gb.mytickets = my tickets
\ No newline at end of file
+gb.mytickets = my tickets
+gb.responsibleMeTickets = you are responsible of
\ No newline at end of file
index 75a3ab7a9cdedce339e35f7dfd87daef05b3afbb..fc766ce2d09ade74f3ead93230f22e04cc45e566 100644 (file)
@@ -671,3 +671,4 @@ gb.serverDoesNotAcceptPatchsets = Ce serveur n'accepte pas de patchsets.
 gb.ticketIsClosed = Ce ticket est clos.
 gb.mergeToDescription = default integration branch for merging ticket patchsets
 gb.mytickets = mes tickets
+gb.responsibleMeTickets = dont vous ĂȘtes responsable
index 9ecc4b6e368dc2c1d0334e395bb63d18c510f695..68b4f045dbf187fc3fc0ef94d52711b3afbc7aac 100644 (file)
@@ -33,6 +33,7 @@
                                                                <li><a wicket:id="createdQuery"><i class="fa fa-user"></i> <wicket:message key="gb.yourCreatedTickets"></wicket:message></a></li>
                                                                <li><a wicket:id="watchedQuery"><i class="fa fa-eye"></i> <wicket:message key="gb.yourWatchedTickets"></wicket:message></a></li>
                                                                <li><a wicket:id="mentionsQuery"><i class="fa fa-comment"></i> <wicket:message key="gb.mentionsMeTickets"></wicket:message></a></li>
+                                                               <li><a wicket:id="responsibleQuery"><i class="fa fa-user"></i> <wicket:message key="gb.responsibleMeTickets"></wicket:message></a></li>
                                                                <li class="divider"></li>
                                                                <li><a wicket:id="resetQuery"><i class="fa fa-bolt"></i> <wicket:message key="gb.reset"></wicket:message></a></li>
                                                        </ul>
index 7e988a22caa0845b9fdf5195a7e3ee978fea6b9d..00b9e190846d084170a1e2653b1a0f687c670567 100644 (file)
@@ -172,6 +172,15 @@ public class MyTicketsPage extends RootPage {
                                                sortBy,
                                                desc,
                                                1)));
+               add(new BookmarkablePageLink<Void>("responsibleQuery", MyTicketsPage.class,
+                               queryParameters(
+                                               Lucene.responsible.matches(username),
+                                               milestoneParam,
+                                               statiiParam,
+                                               assignedToParam,
+                                               sortBy,
+                                               desc,
+                                               1)));
 
                // states
                if (ArrayUtils.isEmpty(statiiParam)) {