You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by ma...@apache.org on 2013/02/10 18:07:09 UTC

svn commit: r1444566 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html

Author: matevz
Date: Sun Feb 10 17:07:09 2013
New Revision: 1444566

URL: http://svn.apache.org/r1444566
Log:
#217 - Minor fix for Milestones. Moved the 'Add' form above the 'Modify'

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html?rev=1444566&r1=1444565&r2=1444566&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_milestones.html Sun Feb 10 17:07:09 2013
@@ -107,6 +107,43 @@
       </form>
 
       <py:otherwise>
+        <div py:if="'MILESTONE_CREATE' in req.perm" class="row">
+          <div class="span9">
+            <form class="well form-horizontal" id="addmilestone" method="post" action="">
+              <fieldset>
+                <legend>Add Milestone</legend>
+                <div class="control-group">
+                  <label class="control-label" for="name">Milestone Name</label>
+                  <div class="controls">
+                    <input type="text" name="name" id="name" class="input-xlarge" />
+                  </div>
+                </div>
+
+                <div class="control-group">
+                  <label class="control-label" for="duedate">Due Date</label>
+                  <div class="controls">
+                    <input type="text" id="duedate"
+                        name="duedate" size="${len(datetime_hint)}"
+                        class="input-xlarge"
+                        placeholder="${_('Format: %(datehint)s', datehint=datetime_hint)}" />
+                  </div>
+                </div>
+
+                <div class="control-group">
+                  <div class="controls">
+                    <input class="btn" type="submit" name="add" value="${_('Add')}" />
+                  </div>
+
+                  <p class="help-block">
+                    <span class="label label-info">Hint</span>
+                    <i18n:msg params="datehint">Format: $datetime_hint</i18n:msg>
+                  </p>
+                </div>
+              </fieldset>
+            </form>
+          </div>
+        </div>
+
         <div class="row">
           <div class="span9">
             <py:choose>
@@ -165,43 +202,6 @@
             </py:choose>
           </div>
         </div>
-
-        <div py:if="'MILESTONE_CREATE' in req.perm" class="row">
-          <div class="span9">
-            <form class="well form-horizontal" id="addmilestone" method="post" action="">
-              <fieldset>
-                <legend>Add Milestone</legend>
-                <div class="control-group">
-                  <label class="control-label" for="name">Milestone Name</label>
-                  <div class="controls">
-                    <input type="text" name="name" id="name" class="input-xlarge" />
-                  </div>
-                </div>
-
-                <div class="control-group">
-                  <label class="control-label" for="duedate">Due Date</label>
-                  <div class="controls">
-                    <input type="text" id="duedate"
-                        name="duedate" size="${len(datetime_hint)}"
-                        class="input-xlarge"
-                        placeholder="${_('Format: %(datehint)s', datehint=datetime_hint)}" />
-                  </div>
-                </div>
-
-                <div class="control-group">
-                  <div class="controls">
-                    <input class="btn" type="submit" name="add" value="${_('Add')}" />
-                  </div>
-
-                  <p class="help-block">
-                    <span class="label label-info">Hint</span>
-                    <i18n:msg params="datehint">Format: $datetime_hint</i18n:msg>
-                  </p>
-                </div>
-              </fieldset>
-            </form>
-          </div>
-        </div>
       </py:otherwise>
     </py:choose>
   </body>