Author: rjollos
Date: Thu Jun 13 05:11:50 2013
New Revision: 1492525
URL: http://svn.apache.org/r1492525
Log:
Refs #544: Check for existence of `qct` variable before rendering the
"visible-phone" Quick-ticket-create. This resolves a traceback under various
circumstances that `qct` isn't passed to the template, such as when a
!TracError is rendered on navigating to a non-existing ticket.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1492525&r1=1492524&r2=1492525&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
Thu Jun 13 05:11:50 2013
@@ -289,7 +289,7 @@
</div>
<!--! quick create ticket, inline version for the phone layout -->
- <div class="row visible-phone">
+ <div py:if="qct" class="row visible-phone">
<div id="qct-inline" class="span12 hide popover">
<div class="popover-title">
<h4>New Ticket</h4>