Commit 8e131944a3be1ec6ad042b91d69b7d0b4226260f
1 parent
1a6baee6
Exists in
master
and in
26 other branches
adding require-login-popup for actions that must be logged in to work
Showing
6 changed files
with
4 additions
and
5 deletions
Show diff stats
app/views/blocks/profile_info_actions/_join_leave_community.html.erb
app/views/layouts/application-ng.html.erb
plugins/require_auth_to_comment/views/require_auth_to_comment_plugin_admin/index.html.erb
plugins/vote/public/style.css
plugins/vote/views/vote/_vote.html.erb
... | ... | @@ -5,7 +5,7 @@ reload_url = url_for(:controller => 'vote_plugin_profile', :profile => profile.i |
5 | 5 | |
6 | 6 | <span id="vote_<%= model %>_<%= target.id %>_<%= vote %>" data-reload_url=<%= reload_url %> class="vote-action action <%= action %>-action"> |
7 | 7 | |
8 | - <%= link_to content_tag(:span, count, :class=>'like-action-counter') + content_tag(:span, '', :class=>"action-icon #{action}"), url, :class => "#{active ? 'like-action-active':''} require-login-popup" %> | |
8 | + <%= link_to content_tag(:span, count, :class=>'like-action-counter') + content_tag(:span, '', :class=>"action-icon #{action}"), url, :class => "#{active ? 'like-action-active':''} #{user ? '':'disabled'} require-login-popup" %> | |
9 | 9 | |
10 | 10 | <% if !voters.blank? %> |
11 | 11 | <span class="vote-detail"> | ... | ... |