From 7e768cf21e829d59926e92963340a8f313023d71 Mon Sep 17 00:00:00 2001 From: Swapnil Gupta <500swapnil@github.com> Date: Thu, 8 Dec 2016 00:46:53 +0530 Subject: [PATCH 1/2] Alert on candidate activity posts --- app/views/notes/show.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index fa254f52f9..98559614ef 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -2,6 +2,7 @@
<% if current_user && @node.tags.length == 0 %>
<%= raw t('notes.show.note_no_tags') %>
<% end %> + <% if @node.has_power_tag('status:candidate') %>
read about how to adapt its content
<% if @node.has_power_tag('replication') %>
<%= raw t('notes.show.replication') %> <%= raw t('notes.show.replication_link') %>.
<% end %> <% if @node.has_power_tag('build') %>
<%= raw t('notes.show.build') %> <%= raw t('notes.show.build_link') %>.
<% end %> From 3b3ded6830f35c2901848b804cc2e2527950f270 Mon Sep 17 00:00:00 2001 From: 500swapnil <500swapnil@gmail.com> Date: Thu, 8 Dec 2016 02:09:05 +0530 Subject: [PATCH 2/2] Update show.html.erb --- app/views/notes/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 98559614ef..341a42201a 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -2,7 +2,7 @@
<% if current_user && @node.tags.length == 0 %>
<%= raw t('notes.show.note_no_tags') %>
<% end %> - <% if @node.has_power_tag('status:candidate') %> + <% if @node.has_power_tag('status:candidate') %>
This was marked as a candidate activity -- read about how to adapt its content into a fully-fledged, step-by-step activity that can be easily replicated.
<% if @node.has_power_tag('replication') %>
<%= raw t('notes.show.replication') %> <%= raw t('notes.show.replication_link') %>.
<% end %> <% if @node.has_power_tag('build') %>
<%= raw t('notes.show.build') %> <%= raw t('notes.show.build_link') %>.
<% end %>