summaryrefslogtreecommitdiff
path: root/app/views/projects/boards/components/sidebar/_notifications.html.haml
blob: aaddd7e249fbd2969e5ce61c5c42e8e48d40d7e3 (plain)
1
2
3
4
5
6
7
- if current_user
  .block.light.subscription{ ":data-url" => "'#{project_issues_path(@project)}/' + issue.id + '/toggle_subscription'" }
    %span.issuable-header-text.hide-collapsed.pull-left
      Notifications
    %button.btn.btn-default.pull-right.js-subscribe-button.issuable-subscribe-button.hide-collapsed{ type: "button" }
      %span
        {{issue.subscribed ? 'Unsubscribe' : 'Subscribe'}}