Welcome to mirror list, hosted at ThFree Co, Russian Federation.

unsubscribe.html.haml « sent_notifications « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9baadf8a0c5a0ac9fccc40e20e18a4ecf91b428d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- noteable = @sent_notification.noteable
- noteable_type = @sent_notification.noteable_type.humanize(capitalize: false)
- noteable_text = %(#{noteable_type} "#{noteable.title}" (#{noteable.to_reference}))
- title = "Unsubscribe from #{noteable_text}"

- page_title title

%h3.page-title= title

%p= "Are you sure you want to unsubscribe from #{noteable_text}?"

%p
  = link_to 'Unsubscribe', unsubscribe_sent_notification_path(@sent_notification, force: true),
            class: 'btn btn-primary append-right-10'
  = link_to 'Cancel', new_user_session_path, class: 'btn append-right-10'