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