incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1351314 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html
Date Mon, 18 Jun 2012 12:08:44 GMT
Author: gjm
Date: Mon Jun 18 12:08:43 2012
New Revision: 1351314

URL: http://svn.apache.org/viewvc?rev=1351314&view=rev
Log:
theme: widget xml markup (instead of JSON for layouts) - towards #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=1351314&r1=1351313&r2=1351314&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 Mon
Jun 18 12:08:43 2012
@@ -97,8 +97,8 @@
             </div>
           </div>
         </div>
-        <div>
-          <bh:layout urn="bootstrap_grid">
+        <div class="span8">
+          <!--! bh:layout urn="bootstrap_grid">
             <bh:schema>
               {
                 "div" : [
@@ -136,27 +136,21 @@
                   }
               }
             </bh:widgets>
-              <!--! bh:w urn="TicketQuery" id="mtb1">
-                <bh:args>
-                  <bh:arg name="max">10</bh:arg>
-                  <bh:arg name="query">milestone=${value_of(milestone.name)}&amp;owner=$USER&amp;status!=closed&amp;group=time&amp;col=id&amp;col=summary&amp;col=owner&amp;col=status&amp;col=priority&amp;order=priority&amp;groupdesc=1&amp;desc=1</bh:arg>
-                  <bh:arg name="title">My tickets (milestone ${milestone.name})</bh:arg>
-                </bh:args>
-              </bh:w>
-              <bh:w urn="TicketQuery" id="mtb2">
-                <bh:args>
-                  <bh:arg name="max">10</bh:arg>
-                  <bh:arg name="query">milestone=${value_of(milestone.name)}&amp;status!=closed&amp;group=time&amp;col=id&amp;col=summary&amp;col=owner&amp;col=status&amp;col=priority&amp;order=priority&amp;groupdesc=1&amp;desc=1</bh:arg>
-                  <bh:arg name="title">All tickets (milestone ${milestone.name})</bh:arg>
-                </bh:args>
-              </bh:w>
-              <bh:w urn="TicketFieldValues" id="mtb3">
-                <bh:args>
-                  <bh:arg name="field">component</bh:arg>
-                  <bh:arg name="verbose">true</bh:arg>
-                </bh:args>
-              </bh:w-->
-          </bh:layout>
+          </bh:layout -->
+          <bh:widget urn="TicketQuery">
+            <bh:args>
+              <bh:arg name="max">10</bh:arg>
+              <bh:arg name="query">milestone=${milestone.name}&amp;status=!closed&amp;group=time&amp;col=id&amp;col=summary&amp;col=owner&amp;col=status&amp;col=priority&amp;order=priority&amp;groupdesc=1&amp;desc=1</bh:arg>
+              <bh:arg name="title">Active tickets in milestone</bh:arg>
+            </bh:args>
+          </bh:widget>
+          <bh:widget urn="TicketFieldValues">
+            <bh:args>
+              <bh:arg name="field">component</bh:arg>
+              <bh:arg name="verbose">true</bh:arg>
+              <bh:arg name="query">milestone=${milestone.name}&amp;group=component</bh:arg>
+            </bh:args>
+          </bh:widget>
         </div>
       </div>
       <div py:if="bhdb" class="span4">



Mime
View raw message