You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by as...@apache.org on 2013/07/23 15:29:19 UTC

svn commit: r1506038 - /bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html

Author: astaric
Date: Tue Jul 23 13:29:18 2013
New Revision: 1506038

URL: http://svn.apache.org/r1506038
Log:
Add current product as a ticket field to newticket form.

Refs: #608

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

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1506038&r1=1506037&r2=1506038&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Tue Jul 23 13:29:18 2013
@@ -426,6 +426,9 @@
                     </label>
                   </p>
 
+                  <!-- Current product prefix, used to override default_product from config. -->
+                  <input type="hidden" id="field-product" name="field_product" value="$req.perm.env.product.prefix" />
+
                   <div class="buttons">
                     <input type="submit" class="btn" name="submit" value="${_('Create ticket')}" />
                   </div>