Removes unnecessary styles for admin budgets groups
This commit is contained in:
@@ -1194,17 +1194,6 @@ table {
|
||||
}
|
||||
}
|
||||
|
||||
.max-headings-label {
|
||||
color: $text-medium;
|
||||
font-size: $small-font-size;
|
||||
margin-left: $line-height / 2;
|
||||
}
|
||||
|
||||
.current-of-max-headings {
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
// 11. Newsletters
|
||||
// -----------------
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<th colspan="4" class="with-button">
|
||||
<%= content_tag(:span, group.name, class:"group-toggle-#{group.id}", id:"group-name-#{group.id}") %>
|
||||
|
||||
<%= content_tag(:span, (render 'admin/budgets/max_headings_label', current: group.max_votable_headings, max: group.headings.count, group: group if group.max_votable_headings), class:"max-headings-label group-toggle-#{group.id}", id:"max-heading-label-#{group.id}") %>
|
||||
<%= content_tag(:span, (render 'admin/budgets/max_headings_label', current: group.max_votable_headings, max: group.headings.count, group: group if group.max_votable_headings), class:"small group-toggle-#{group.id}", id:"max-heading-label-#{group.id}") %>
|
||||
|
||||
<%= render 'admin/budgets/group_form', budget: @budget, group: group, id: "group-form-#{group.id}", button_title: t("admin.budgets.form.submit"), css_class: "group-toggle-#{group.id}" %>
|
||||
<%= link_to t("admin.budgets.form.edit_group"), "#", class: "button float-right js-toggle-link hollow", data: { "toggle-selector" => ".group-toggle-#{group.id}" } %>
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
<%= t("admin.budgets.form.max_votable_headings")%>
|
||||
<%= content_tag(:strong,
|
||||
t("admin.budgets.form.current_of_max_headings", current: current, max: max),
|
||||
class: "current-of-max-headings") %>
|
||||
<%= t("admin.budgets.form.current_of_max_headings", current: current, max: max) %>
|
||||
|
||||
Reference in New Issue
Block a user