improves styles for admin budgets show
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
<div class="small-12 column">
|
|
||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -73,4 +72,3 @@
|
|||||||
<!-- /. headings list -->
|
<!-- /. headings list -->
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
<div class="small-12 column">
|
|
||||||
<h3 class="inline-block"><%= t('admin.budgets.show.groups') %></h3>
|
<h3 class="inline-block"><%= t('admin.budgets.show.groups') %></h3>
|
||||||
<% if groups.blank? %>
|
<% if groups.blank? %>
|
||||||
<div class="callout primary">
|
<div class="callout primary">
|
||||||
@@ -27,8 +26,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% groups.each do |group| %>
|
<% groups.each do |group| %>
|
||||||
<div class="row" id="<%= dom_id(group) %>">
|
<div id="<%= dom_id(group) %>">
|
||||||
<%= render "admin/budgets/group", group: group, headings: group.headings %>
|
<%= render "admin/budgets/group", group: group, headings: group.headings %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
|
||||||
@@ -1,16 +1,10 @@
|
|||||||
<div class="row">
|
<%= link_to admin_budgets_path do %>
|
||||||
<div class="small-12 medium-9 column">
|
<span class="icon-angle-left"></span>
|
||||||
<h2><%= @budget.name %> <small><%= link_to(t('shared.edit'), edit_admin_budget_path(@budget)) %></small></h2>
|
<%= t('shared.back') %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<%= @budget.description %>
|
<h2><%= @budget.name %></h2>
|
||||||
|
|
||||||
<p>
|
<div id="<%= dom_id @budget %>_groups">
|
||||||
<strong><%= t('admin.budgets.show.phase') %>:</strong> <%= t("budget.phase.#{@budget.phase}") %> |
|
|
||||||
<strong><%= t('admin.budgets.show.currency') %>:</strong> <%= @budget.currency_symbol %>
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="<%= dom_id @budget %>_groups" class="row">
|
|
||||||
<%= render "groups", groups: @budget.groups %>
|
<%= render "groups", groups: @budget.groups %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user