Skip to content

Commit

Permalink
add sign removed (publiclab#2434)
Browse files Browse the repository at this point in the history
  • Loading branch information
grvsachdeva authored and Souravirus committed Mar 12, 2018
1 parent 991dc2d commit 69d4e06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/notes/_comment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
<p class="alert alert-info">Is this a question? <a href="/questions/new?title=<%= comment.body %>">Click here</a> to post it to the <a href="/questions">Questions page</a>.
</p>
<% end %>
+ <% if comment.parent.has_power_tag('activity') && current_user && current_user.id == comment.uid %>
+ <div class="alert alert-info">Have you attempted or completed this activity? Consider <a href="/post?n=15798&tags=replication:<%= comment.nid %>,<%= comment.parent.tagnames.join(',') %>">sharing how it went</a> to help refine and improve it.</div>
+ <% end %>
<% if comment.parent.has_power_tag('activity') && current_user && current_user.id == comment.uid %>
<div class="alert alert-info">Have you attempted or completed this activity? Consider <a href="/post?n=15798&tags=replication:<%= comment.nid %>,<%= comment.parent.tagnames.join(',') %>">sharing how it went</a> to help refine and improve it.</div>
<% end %>
</div>

<% if current_user %>
Expand Down

0 comments on commit 69d4e06

Please sign in to comment.