Improve admin's styles
This commit is contained in:
@@ -37,23 +37,17 @@
|
||||
<!-- Badge collective name, "collective" by default -->
|
||||
<td>Colectivo</td>
|
||||
<!-- /. Badge collective name, "collective" by default -->
|
||||
<td>
|
||||
<!-- Edit collective bagde, "collective" by default -->
|
||||
<%= link_to t("admin.organizations.index.edit"), "", class: "button radius tiny" %>
|
||||
<!-- /. Edit collective bagde, "collective" by default -->
|
||||
</td>
|
||||
<% if organization.verified? %>
|
||||
<td class="verified">
|
||||
<i class="icon-check"></i>
|
||||
<%= t("admin.organizations.index.verified") %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% if organization.rejected? %>
|
||||
<td class="rejected">
|
||||
<i class="icon-x"></i>
|
||||
<%= t("admin.organizations.index.rejected") %>
|
||||
</td>
|
||||
<% end %>
|
||||
<td>
|
||||
<!-- Edit collective bagde, "collective" by default -->
|
||||
<%= link_to t("admin.organizations.index.edit"), "", class: "button radius tiny secondary" %>
|
||||
<!-- /. Edit collective bagde, "collective" by default -->
|
||||
</td>
|
||||
<% if can? :verify, organization %>
|
||||
<td>
|
||||
<%= link_to t("admin.organizations.index.verify"),
|
||||
@@ -62,6 +56,12 @@
|
||||
%>
|
||||
</td>
|
||||
<% end %>
|
||||
<% if organization.rejected? %>
|
||||
<td class="rejected">
|
||||
<i class="icon-x"></i>
|
||||
<%= t("admin.organizations.index.rejected") %>
|
||||
</td>
|
||||
<% end %>
|
||||
<% if can? :reject, organization %>
|
||||
<td><%= link_to t("admin.organizations.index.reject"),
|
||||
reject_admin_organization_path(organization, request.query_parameters),
|
||||
|
||||
@@ -32,10 +32,12 @@
|
||||
as: :tag,
|
||||
html: { id: "edit_tag_#{tag.id}", class: "text-right"}) do |f| %>
|
||||
|
||||
<%= f.label "featured_#{tag.id}" do %>
|
||||
<%= f.check_box :featured, label: false, id: "tag_featured_#{tag.id}", class: "left" %>
|
||||
<span class="checkbox left"><%= t("admin.tags.mark_as_featured") %></span>
|
||||
<% end %>
|
||||
<span class="left">
|
||||
<%= f.label "featured_#{tag.id}" do %>
|
||||
<%= f.check_box :featured, label: false, id: "tag_featured_#{tag.id}", class: "inline-block" %>
|
||||
<span class="checkbox inline-block"><%= t("admin.tags.mark_as_featured") %></span>
|
||||
<% end %>
|
||||
</span>
|
||||
|
||||
<%= f.submit(class: "button radius tiny success") %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user