Skip to content

Commit

Permalink
fix(permissions): missing add comment button
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Mar 8, 2019
1 parent f872c8f commit c512b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/subviews/singleticket.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,11 @@
<div class="page-message nopadding" style="margin-left: 360px;">
<div class="page-title-right noshadow">
<div class="page-top-comments uk-float-right">
{{#hasPermOverRole data.ticket.owner.role data.common.loggedInAccount.role "comments:create"}}
{{#canUser data.common.loggedInAccount "comments:create"}}
<a href="#" class="btn no-ajaxy" data-action="scrolltobottom" data-targetScroll=".page-content-right" data-preventDefault="true">
Add Comment
</a>
{{/hasPermOverRole}}
{{/canUser}}
</div>
<div class="onoffswitch subscribeSwitch uk-float-right" style="margin-right: 10px; position: relative; top: 18px;">
<input type="checkbox" name="subscribeSwitch" class="onoffswitch-checkbox" id="subscribeSwitch" ng-model="subscribed" ng-change="SubscriberChange()"
Expand Down

0 comments on commit c512b8d

Please sign in to comment.