adds budget icon on investment show when no aside

This commit is contained in:
Alberto Garcia Cabeza
2017-01-09 17:10:36 +01:00
parent f9c4649fd1
commit e6cc09a460
4 changed files with 34 additions and 0 deletions

View File

@@ -740,6 +740,31 @@
margin-top: $line-height*1.5;
}
.budget-investment-show {
.label-budget-investment {
background: none;
clear: both;
color: $budget;
display: block;
font-size: rem-calc(12);
font-weight: bold;
line-height: $line-height;
padding-bottom: 0;
padding-left: 0;
padding-top: 0;
text-transform: uppercase;
}
.icon-budget {
color: $budget;
font-size: $small-font-size;
line-height: $line-height;
margin-left: rem-calc(6);
top: 0;
}
}
// 05. Featured
// ------------

View File

@@ -90,6 +90,13 @@
<% end %>
</div>
</aside>
<% else %>
<div class="small-12 medium-3 column">
<div class="float-right">
<span class="label-budget-investment float-left"><%= t("budgets.investments.show.title") %></span>
<span class="icon-budget"></span>
</div>
</div>
<% end %>
</div>

View File

@@ -71,6 +71,7 @@ en:
location_html: 'Location: <strong>%{location}</strong>'
organization_name_html: 'Organization: <strong>%{name}</strong>'
share: Share
title: Investment project
wrong_price_format: Only integer numbers
investment:
title: Investment project

View File

@@ -71,6 +71,7 @@ es:
location_html: 'Ubicación: <strong>%{location}</strong>'
organization_name_html: 'Organización: <strong>%{name}</strong>'
share: Compartir
title: Propuesta de inversión
wrong_price_format: Solo puede incluir caracteres numéricos
investment:
title: Propuesta de inversión