add space below each user history rate box

pull/8355/head
bsatarnejad 5 years ago
parent 25fe611452
commit c4c2b6a2f9
  1. 3
      app/assets/stylesheets/content/_user.sass
  2. 2
      modules/costs/app/views/hourly_rates/_list_default.html.erb
  3. 2
      modules/costs/app/views/hourly_rates/_list_project.html.erb

@ -77,3 +77,6 @@ tr user-avatar
.-spaced
&.avatar-medium, &.avatar-mini
margin-right: 5px
.user-history-rates-no-result
margin-bottom: 25px

@ -32,7 +32,9 @@ See docs/COPYRIGHT.rdoc for more details.
</div>
<h3><%= User.human_attribute_name(:default_rates) %></h3>
<% if @rates_default.blank? %>
<div class="user-history-rates-no-result">
<%= no_results_box %>
</div>
<% else %>
<div class="generic-table--container">
<div class="generic-table--results-container">

@ -45,7 +45,9 @@ See docs/COPYRIGHT.rdoc for more details.
</div>
<h3><%=h project.name %><%= (" - " + number_to_currency(current_rate.rate)) if current_rate %></h3>
<% if rates.empty? %>
<div class="user-history-rates-no-result">
<%= no_results_box %>
</div>
<% else %>
<div class="generic-table--container">
<div class="generic-table--results-container">

Loading…
Cancel
Save