unifies styles for participation not allowed

This commit is contained in:
Alberto Garcia Cabeza
2016-10-31 16:50:13 +01:00
parent d771b739bf
commit 6fd5e6a67a
9 changed files with 125 additions and 235 deletions

View File

@@ -33,7 +33,7 @@
<% elsif !user_signed_in? %>
<div class="logged" >
<div class="participation-allowed">
<%= t('comments.comment.votes', count: comment.total_votes) %>
&nbsp;|&nbsp;
@@ -60,7 +60,7 @@
<%= comment.total_dislikes %>
</span>
</div>
<div class="not-logged" style='display:none'>
<div class="participation-not-allowed" style='display:none' aria-hidden="false">
<%= t("votes.comment_unauthenticated",
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %>