#343: newticket page does not display the form to create a ticket
------------------------+-----------------------
Reporter: gjm | Owner: gjm
Type: defect | Status: accepted
Priority: blocker | Milestone: Release 4
Component: dashboard | Version:
Resolution: | Keywords:
------------------------+-----------------------
Comment (by gjm):
A search for the {{{hide()}}} in the {{{bh_ticket.html}}} template shows
that this is done in the javascript but without checking if the ticket
exists.
I think something as simple as this should fix:
{{{
#!diff
Index: bloodhound_theme/bhtheme/templates/bh_ticket.html
===================================================================
--- bloodhound_theme/bhtheme/templates/bh_ticket.html (revision 1430315)
+++ bloodhound_theme/bhtheme/templates/bh_ticket.html (working copy)
@@ -55,7 +55,7 @@
// Install in place editing
var modify_elem = $('#modify');
- modify_elem.parent().hide();
+ <py:if test="ticket.exists">modify_elem.parent().hide();</py:if>
function modify_ticket() {
if ($('#vc-summary').is('.edit-active'))
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/343#comment:2>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker