#813: TICKET_VIEW is not sufficient to see relations ------------------------+----------------------- Reporter: wimh | Owner: gjm Type: defect | Status: accepted Priority: major | Milestone: Release 9 Component: relations | Version: 0.8.0dev Resolution: | Keywords: ------------------------+----------------------- Changes (by gjm):
* owner: nobody => gjm * status: new => accepted Comment: It looks like the {{{has_property_editor}}} is on the wrong element. My best guess is that the following will fix this issue. {{{#!diff Index: bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html =================================================================== --- bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html (revision 1685407) +++ bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html (working copy) @@ -64,7 +64,7 @@ </py:otherwise> </py:choose> - <div class="btn-group"> + <div py:if="has_property_editor" class="btn-group"> <form method="get" action="${href.ticket(ticket.id, 'relations')}"> <button type="submit" class="btn" id="manage-relations"><i class ="icon-retweet"></i> Manage relations</button> </form> Index: bloodhound_theme/bhtheme/templates/bh_ticket.html =================================================================== --- bloodhound_theme/bhtheme/templates/bh_ticket.html (revision 1685407) +++ bloodhound_theme/bhtheme/templates/bh_ticket.html (working copy) @@ -445,7 +445,7 @@ </div> </form> - <div py:if="bhrelations and ticket.exists and has_property_editor" class="relations"> + <div py:if="bhrelations and ticket.exists" class="relations"> <bh:widget urn="TicketRelations"> <bh:args> <bh:arg name="tid">$ticket.id</bh:arg> }}} -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/813#comment:2> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker