You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/06/01 14:22:11 UTC
svn commit: r1345111 -
/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
Author: gjm
Date: Fri Jun 1 12:22:10 2012
New Revision: 1345111
URL: http://svn.apache.org/viewvc?rev=1345111&view=rev
Log:
theme: widgets in continuous milestone template - #93 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html?rev=1345111&r1=1345110&r2=1345111&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html Fri Jun 1 12:22:10 2012
@@ -96,43 +96,38 @@
</div>
</div>
<div>
- <bh:layout urn="bootstrap_btnbar">
+ <bh:layout urn="bootstrap_grid">
<bh:schema>
- {
- "toolbar" : [
- ["My Tickets", "mtb1"],
- ["All Tickets", "mtb2"],
- ["|", null],
- ["Projects", null],
- ["Components", "mtb3"]
- ],
- "active" : 0
- }
+ {
+ "div" : [
+ {
+ "_class" : "row",
+ "div" : [
+ {
+ "_class" : "${'span8' if bhdb else 'span12'}",
+ "widgets" : ["tickets", "components"]
+ }
+ ]
+ }
+ ]
+ }
</bh:schema>
<bh:widgets>
{
- "mtb1" : {
- "args" : ["TicketQuery", null, {
- "args" : {
- "max" : 10,
- "query" : "milestone=${milestone.name}&owner=$$USER&status!=closed&group=time&col=id&col=summary&col=owner&col=status&col=priority&order=priority&groupdesc=1&desc=1",
- "title" : "My tickets (milestone ${milestone.name})"
- }
- }]
- },
- "mtb2" : {
+ "tickets" : {
"args" : ["TicketQuery", null, {
"args" : {
"max" : 10,
"query" : "milestone=${milestone.name}&status!=closed&group=time&col=id&col=summary&col=owner&col=status&col=priority&order=priority&groupdesc=1&desc=1",
- "title" : "All tickets (milestone ${milestone.name})"
+ "title" : "All tickets in milestone"
}
}]
},
- "mtb3" : {
+ "components" : {
"args" : ["TicketFieldCloud", null, {
"args" : {
"field" : "component",
+ "query" : "milestone=${milestone.name}&group=component",
"verbose" : true
}
}]