Author: matevz
Date: Mon Mar 11 20:59:52 2013
New Revision: 1455326
URL: http://svn.apache.org/r1455326
Log:
#429 - Multiproduct UI: Ticket page (product-scoped tickets in qct)
Modified:
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/theme.py
Modified:
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1455326&r1=1455325&r2=1455326&view=diff
==============================================================================
---
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
(original)
+++
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
Mon Mar 11 20:59:52 2013
@@ -142,6 +142,15 @@
${field_select(field, None)}
</div>
</py:for>
+
+ <label class="control-label"
for="field-product-name">Product</label>
+ <div class="controls">
+ <input type="text" disabled="disabled" class="input-medium"
+ id="field-product-name" name="field_product_name"
+ value="$req.perm.env.product.name
($req.perm.env.product.prefix)" />
+ <input type="hidden" id="field-product"
name="field_product"
+ value="$req.perm.env.product.prefix" />
+ </div>
</div>
</py:def>
<py:choose test="">
Modified:
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/theme.py
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/theme.py?rev=1455326&r1=1455325&r2=1455326&view=diff
==============================================================================
---
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/theme.py
(original)
+++
incubator/bloodhound/branches/bep_0003_multiproduct/bloodhound_theme/bhtheme/theme.py
Mon Mar 11 20:59:52 2013
@@ -402,7 +402,7 @@ class QuickCreateTicketDialog(Component)
implements(IRequestFilter, IRequestHandler)
qct_fields = ListOption('ticket', 'quick_create_fields',
- 'product,version,type',
+ 'version,type',
doc="""Multiple selection fields displayed in create ticket menu""")
# IRequestFilter(Interface):