Commits

Olemis Lang  committed 0d46f72

BH Theme #331 : Add data-edit='inplace' id='vc-type' for ticket type DOM container

  • Participants
  • Parent commits 3459851
  • Branches t331_inplace_ticket_type

Comments (0)

Files changed (2)

+t331/t331_r1427886_edit_ticket_type.diff

File t331/t331_r1427886_edit_ticket_type.diff

+# HG changeset patch
+# Parent d143652322b7ec13c6bd1f0b7aaf7fa01297ba6a
+BH Theme #331 : Edit ticket type in-place
+
+diff -r d143652322b7 bloodhound_theme/bhtheme/templates/bh_ticket.html
+--- a/bloodhound_theme/bhtheme/templates/bh_ticket.html	Wed Jan 02 18:06:37 2013 +0000
++++ b/bloodhound_theme/bhtheme/templates/bh_ticket.html	Wed Jan 02 19:33:42 2013 -0500
+@@ -327,7 +327,8 @@
+                           Type:
+                         </h5>
+                       </div>
+-                      <div class="span2">
++                      <div id="vc-type" class="span2" 
++                          data-edit="${'inplace' if can_modify or can_edit or can_create else None}">
+                         <small py:if="ticket.type">${ticket.type}</small>
+                         &nbsp;
+                       </div>