diff --git a/src/views/subviews/singleticket.hbs b/src/views/subviews/singleticket.hbs index 5a75c46ea..00b3f7ddb 100644 --- a/src/views/subviews/singleticket.hbs +++ b/src/views/subviews/singleticket.hbs @@ -213,9 +213,11 @@
- - Add Comment - + {{#hasPermOverRole data.ticket.owner.role data.common.loggedInAccount.role "comments:create"}} + + Add Comment + + {{/hasPermOverRole}}

{{data.ticket.subject}}

- {{{data.ticket.owner.fullname}}} <{{{data.ticket.owner.email}}}>
- {{#canUserOrAdmin data.common.loggedInAccount "tickets:update"}} + {{#hasPermOverRole data.ticket.owner.role data.common.loggedInAccount.role "tickets:update"}}
- {{else}} - {{#canEditSelf data.user data.ticket.owner 'ticket'}} -
- {{/canEditSelf}} - {{/canUserOrAdmin}} -
-
+ +
- - - -
+ + + + + {{/hasPermOverRole}}