Replaces bullet for bull

This commit is contained in:
Alberto Garcia Cabeza
2015-09-09 20:33:21 +02:00
parent dba3385a6c
commit a61c006f7f
9 changed files with 20 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
<span><%= moderator.name %></span> <span><%= moderator.name %></span>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span><%= moderator.email %></span> <span><%= moderator.email %></span>
<% if moderator.persisted? %> <% if moderator.persisted? %>
<%= link_to t('admin.moderators.moderator.delete'), <%= link_to t('admin.moderators.moderator.delete'),

View File

@@ -17,9 +17,9 @@
<% @officials.each do |official| %> <% @officials.each do |official| %>
<li> <li>
<%= link_to official.name, edit_admin_official_path(official) %> <%= link_to official.name, edit_admin_official_path(official) %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="level"><%= t("admin.officials.level_#{official.official_level}") %></span> <span class="level"><%= t("admin.officials.level_#{official.official_level}") %></span>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="label round level-<%= official.official_level %>"> <span class="label round level-<%= official.official_level %>">
<%= official.official_position %> <%= official.official_position %>
</span> </span>

View File

@@ -17,11 +17,11 @@
<% @users.each do |user| %> <% @users.each do |user| %>
<li> <li>
<%= link_to user.name, edit_admin_official_path(user) %> <%= link_to user.name, edit_admin_official_path(user) %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="label round level-<%= user.official_level %>"> <span class="label round level-<%= user.official_level %>">
<%= user.official_position %> <%= user.official_position %>
</span> </span>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="level"><%= t("admin.officials.level_#{user.official_level}") %></span> <span class="level"><%= t("admin.officials.level_#{user.official_level}") %></span>
<%= link_to user.official? ? t("admin.officials.search.edit_official") : t("admin.officials.search.make_official"), edit_admin_official_path(user), class: "button radius tiny right" %> <%= link_to user.official? ? t("admin.officials.search.edit_official") : t("admin.officials.search.make_official"), edit_admin_official_path(user), class: "button radius tiny right" %>

View File

@@ -4,13 +4,13 @@
<span class='js-moderation-actions'> <span class='js-moderation-actions'>
<% if can? :hide, comment %> <% if can? :hide, comment %>
<span class="divider">&nbsp;&bullet;&nbsp;</span> <span class="divider">&nbsp;&bull;&nbsp;</span>
<%= link_to t("admin.actions.hide").capitalize, hide_moderation_comment_path(comment), <%= link_to t("admin.actions.hide").capitalize, hide_moderation_comment_path(comment),
method: :put, remote: true, data: { confirm: t('admin.actions.confirm') } %> method: :put, remote: true, data: { confirm: t('admin.actions.confirm') } %>
<% end %> <% end %>
<% if can? :hide, comment.user %> <% if can? :hide, comment.user %>
<span class="divider">&nbsp;&bullet;&nbsp;</span> <span class="divider">&nbsp;&bull;&nbsp;</span>
<%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(comment.user_id, debate_id: @debate.id), <%= link_to t("admin.actions.hide_author").capitalize, hide_moderation_user_path(comment.user_id, debate_id: @debate.id),
method: :put, data: { confirm: t('admin.actions.confirm') } %> method: :put, data: { confirm: t('admin.actions.confirm') } %>
<% end %> <% end %>

View File

@@ -38,20 +38,20 @@
<% else %> <% else %>
<span class="user-name"><%= comment.user.name %></span> <span class="user-name"><%= comment.user.name %></span>
<% if comment.user.official? %> <% if comment.user.official? %>
&nbsp;&bullet;&nbsp; &nbsp;&bull;&nbsp;
<span class="label round level-<%= comment.user.official_level %>"> <span class="label round level-<%= comment.user.official_level %>">
<%= comment.user.official_position %> <%= comment.user.official_position %>
</span> </span>
<% end %> <% end %>
<% end %> <% end %>
<% if comment.user.verified_organization? %> <% if comment.user.verified_organization? %>
&nbsp;&bullet;&nbsp; &nbsp;&bull;&nbsp;
<span class="label round is-association"> <span class="label round is-association">
<%= t("shared.collective") %> <%= t("shared.collective") %>
</span> </span>
<% end %> <% end %>
<% if comment.user_id == @commentable.author_id %> <% if comment.user_id == @commentable.author_id %>
&nbsp;&bullet;&nbsp; &nbsp;&bull;&nbsp;
<span class="label round is-author"> <span class="label round is-author">
<%= t("debates.comment.author") %> <%= t("debates.comment.author") %>
</span> </span>
@@ -59,7 +59,7 @@
<% end %> <% end %>
&nbsp;&bullet;&nbsp;<time><%= l comment.created_at.to_datetime, format: :datetime %></time> &nbsp;&bull;&nbsp;<time><%= l comment.created_at.to_datetime, format: :datetime %></time>
</div> </div>
<% if comment.as_administrator? %> <% if comment.as_administrator? %>

View File

@@ -11,7 +11,7 @@
<p class="debate-info"> <p class="debate-info">
<i class="icon-comments"></i>&nbsp; <i class="icon-comments"></i>&nbsp;
<%= link_to t("debates.debate.comments", count: debate.comments_count), debate_path(debate, anchor: "comments") %> <%= link_to t("debates.debate.comments", count: debate.comments_count), debate_path(debate, anchor: "comments") %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= l debate.created_at.to_date %> <%= l debate.created_at.to_date %>
</p> </p>
<div class="debate-description"> <div class="debate-description">

View File

@@ -32,7 +32,7 @@
<%= @debate.author.name %> <%= @debate.author.name %>
</span> </span>
<% if @debate.author.official? %> <% if @debate.author.official? %>
&nbsp;&bullet;&nbsp; &nbsp;&bull;&nbsp;
<span class="label round level-<%= @debate.author.official_level %>"> <span class="label round level-<%= @debate.author.official_level %>">
<%= @debate.author.official_position %> <%= @debate.author.official_position %>
</span> </span>
@@ -40,18 +40,18 @@
<% end %> <% end %>
<% if @debate.author.verified_organization? %> <% if @debate.author.verified_organization? %>
&nbsp;&bullet;&nbsp; &nbsp;&bull;&nbsp;
<span class="label round is-association"> <span class="label round is-association">
<%= t("shared.collective") %> <%= t("shared.collective") %>
</span> </span>
<% end %> <% end %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= l @debate.created_at.to_date %> <%= l @debate.created_at.to_date %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<i class="icon-comments"></i>&nbsp; <i class="icon-comments"></i>&nbsp;
<%= link_to t("debates.show.comments", count: @debate.comments_count), "#comments" %> <%= link_to t("debates.show.comments", count: @debate.comments_count), "#comments" %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="js-flag-actions"> <span class="js-flag-actions">
<%= render 'debates/flag_actions', debate: @debate %> <%= render 'debates/flag_actions', debate: @debate %>
</span> </span>

View File

@@ -24,9 +24,9 @@
<tr id="debate_<%= debate.id %>"> <tr id="debate_<%= debate.id %>">
<td> <td>
<%= link_to debate.title, debate, target: "_blank" %> <%= link_to debate.title, debate, target: "_blank" %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<%= debate.author.username %> <%= debate.author.username %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="date"><%= l debate.updated_at.to_date %></span> <span class="date"><%= l debate.updated_at.to_date %></span>
<br> <br>
<%= debate.description %> <%= debate.description %>

View File

@@ -19,7 +19,7 @@
<% @users.each do |user| %> <% @users.each do |user| %>
<li> <li>
<%= user.name %> <%= user.name %>
<span class="bullet">&nbsp;&bullet;&nbsp;</span> <span class="bullet">&nbsp;&bull;&nbsp;</span>
<% if user.hidden? %> <% if user.hidden? %>
<%= t("moderation.users.index.hidden") %> <%= t("moderation.users.index.hidden") %>
<% else %> <% else %>