Replaces bullet for bull
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<span><%= moderator.name %></span>
|
<span><%= moderator.name %></span>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </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'),
|
||||||
|
|||||||
@@ -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"> • </span>
|
<span class="bullet"> • </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"> • </span>
|
<span class="bullet"> • </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>
|
||||||
|
|||||||
@@ -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"> • </span>
|
<span class="bullet"> • </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"> • </span>
|
<span class="bullet"> • </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" %>
|
||||||
|
|||||||
@@ -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"> • </span>
|
<span class="divider"> • </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"> • </span>
|
<span class="divider"> • </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 %>
|
||||||
|
|||||||
@@ -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? %>
|
||||||
•
|
•
|
||||||
<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? %>
|
||||||
•
|
•
|
||||||
<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 %>
|
||||||
•
|
•
|
||||||
<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 %>
|
||||||
|
|
||||||
• <time><%= l comment.created_at.to_datetime, format: :datetime %></time>
|
• <time><%= l comment.created_at.to_datetime, format: :datetime %></time>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if comment.as_administrator? %>
|
<% if comment.as_administrator? %>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<p class="debate-info">
|
<p class="debate-info">
|
||||||
<i class="icon-comments"></i>
|
<i class="icon-comments"></i>
|
||||||
<%= 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"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<%= l debate.created_at.to_date %>
|
<%= l debate.created_at.to_date %>
|
||||||
</p>
|
</p>
|
||||||
<div class="debate-description">
|
<div class="debate-description">
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
<%= @debate.author.name %>
|
<%= @debate.author.name %>
|
||||||
</span>
|
</span>
|
||||||
<% if @debate.author.official? %>
|
<% if @debate.author.official? %>
|
||||||
•
|
•
|
||||||
<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? %>
|
||||||
•
|
•
|
||||||
<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"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<%= l @debate.created_at.to_date %>
|
<%= l @debate.created_at.to_date %>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<i class="icon-comments"></i>
|
<i class="icon-comments"></i>
|
||||||
<%= 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"> • </span>
|
<span class="bullet"> • </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>
|
||||||
|
|||||||
@@ -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"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<%= debate.author.username %>
|
<%= debate.author.username %>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </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 %>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<% @users.each do |user| %>
|
<% @users.each do |user| %>
|
||||||
<li>
|
<li>
|
||||||
<%= user.name %>
|
<%= user.name %>
|
||||||
<span class="bullet"> • </span>
|
<span class="bullet"> • </span>
|
||||||
<% if user.hidden? %>
|
<% if user.hidden? %>
|
||||||
<%= t("moderation.users.index.hidden") %>
|
<%= t("moderation.users.index.hidden") %>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|||||||
Reference in New Issue
Block a user