Author: gjm
Date: Tue Jan  8 15:10:18 2013
New Revision: 1430317

URL: http://svn.apache.org/viewvc?rev=1430317&view=rev
Log:
make ticket form display when the ticket does not exist for newticket page - 
fixes #343

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

Modified: 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1430317&r1=1430316&r2=1430317&view=diff
==============================================================================
--- 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html 
(original)
+++ 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html 
Tue Jan  8 15:10:18 2013
@@ -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'))


Reply via email to