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>