incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1329223 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
Date Mon, 23 Apr 2012 13:03:53 GMT
Author: gjm
Date: Mon Apr 23 13:03:52 2012
New Revision: 1329223

URL: http://svn.apache.org/viewvc?rev=1329223&view=rev
Log:
theme (quickticket): conditionally show the product field in the quick ticket form - torwards
#23

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

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1329223&r1=1329222&r2=1329223&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html Mon
Apr 23 13:03:52 2012
@@ -96,10 +96,16 @@
             <label for="field-summary">Summary</label>
             <input class="input-medium" type="text" id="field-summary"
                 name="field_summary" placeholder="Ticket summary" />
-            <label for="field-project">Project</label>
-            <input class="input-medium disabled" id="field-project" type="text" 
-                placeholder="Target project" disabled="" />
             <div class="form-horizontal">
+              <py:if test="qct.fields.product">
+              <label class="control-label" for="field-product">Product</label>
+              <div class="controls">
+                <!-- input name="qct_product" class="input-mini" type="text" 
+                    placeholder="Product" / -->
+                ${field_select(qct.fields.product, None)}
+                <p class="help-block">Target product</p>
+              </div>
+              </py:if>
               <label class="control-label" for="field-version">Version</label>
               <div class="controls">
                 <!-- input name="qct_version" class="input-mini" type="text" 



Mime
View raw message