Sha256: fe7d708287e604b7a74c8affead65e5f2cce9caa561f5a6c2a9d751dae32ac36

Contents?: true

Size: 878 Bytes

Versions: 14

Compression:

Stored size: 878 Bytes

Contents

<% proclaim_title "Subscription for #{@subscription.name}" %>

<h1><%= content_for :proclaim_title %></h1>

<p>
	<% if @subscription.post %>
		Will be notified of new comments on
		<%= link_to @subscription.post.title, @subscription.post %>
	<% else %>
		Will be notified of new blog posts.
	<% end %>
</p>
<p>
	<% if policy(@subscription).destroy? %>
		<%= button_to 'Unsubscribe',
		            subscription_path(@subscription.token),
		            method: :delete,
		            data: {
		            	confirm: "Are you sure you'd like to unsubscribe from "\
		            	         "this notification item? Note that if you've "\
		            	         "subscribed elsewhere (e.g. other posts), "\
		            	         "you'll still receive notifications for them "\
		            	         "unless you unsubscribe from them as well."
		           	} %>
	<% end %>
</p>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
proclaim-0.6.6 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.5 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.4 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.3 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.2 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.1 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.6.0 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.6 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.5 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.3 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.2 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.1 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.5.0 app/views/proclaim/subscriptions/show.html.erb
proclaim-0.4.0 app/views/proclaim/subscriptions/show.html.erb