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/05/15 18:33:45 UTC

svn commit: r1338786 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates: bh_attach_file_form.html bh_milestone_view.html

Author: gjm
Date: Tue May 15 16:33:45 2012
New Revision: 1338786

URL: http://svn.apache.org/viewvc?rev=1338786&view=rev
Log:
theme: minor changes for milestone view buttons - towards #75 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_milestone_view.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html?rev=1338786&r1=1338785&r2=1338786&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_attach_file_form.html Tue May 15 16:33:45 2012
@@ -10,7 +10,7 @@ Arguments:
       xmlns:xi="http://www.w3.org/2001/XInclude"
       xmlns:i18n="http://genshi.edgewall.org/i18n"
       py:if="alist.can_create" method="get" action="${alist.attach_href}"
-      id="attachfile" style="display: inline">
+      id="attachfile" style="display: inline-block">
   <input type="hidden" name="action" value="new" />
   <div class="btn-group">
     <input class="btn" type="submit" name="attachfilebutton" value="${value_of('add_button_title', None) or _('Attach file')}" />

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=1338786&r1=1338785&r2=1338786&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 Tue May 15 16:33:45 2012
@@ -54,20 +54,25 @@
         <div py:if="'MILESTONE_MODIFY' in perm(milestone.resource) or
                     'MILESTONE_DELETE' in perm(milestone.resource) or
                     attachments.can_create">
-          <span class="label label-info">Actions</span>
           <form py:if="'MILESTONE_MODIFY' in perm(milestone.resource)"
               method="get" action="" id="editmilestone"
               style="display: inline-block">
             <input type="hidden" name="action" value="edit" />
-            <input type="submit" value="${_('Edit milestone')}" class="btn" />
+            <div class="btn-group">
+              <input type="submit" value="${_('Edit milestone')}" 
+                  class="btn btn-warning" />
+            </div>
           </form>
           <form py:if="'MILESTONE_DELETE' in perm(milestone.resource)"
               method="get" action="" id="deletemilestone"
               style="display: inline-block">
             <input type="hidden" name="action" value="delete" />
-            <input type="submit" value="${_('Delete milestone')}" class="btn" />
+            <div class="btn-group">
+              <input type="submit" value="${_('Delete milestone')}"
+                  class="btn btn-danger" />
+            </div>
           </form>
-          <xi:include href="attach_file_form.html" py:with="alist = attachments" />
+          <xi:include href="bh_attach_file_form.html" py:with="alist = attachments" />
         </div>
         <div class="row">
           <bh:layout urn="bootstrap_btnbar">