Commit 32d4936fa4bd37509a30297b09b9f71e86cf39bf

Authored by Leandro Santos
1 parent bd83c7db

adding category in proposal detail

Showing 2 changed files with 6 additions and 2 deletions   Show diff stats
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 <div class='proposal-detail hide' id="proposal-item-{{id}}"> 53 <div class='proposal-detail hide' id="proposal-item-{{id}}">
54 <ul> 54 <ul>
55 {{#each categories}} 55 {{#each categories}}
56 - <li>{{name}}</li> 56 + <li class='{{slug}}'>{{name}}</li>
57 {{/each}} 57 {{/each}}
58 </ul> 58 </ul>
59 <img src="{{../host}}{{image.thumb_url}}"/> 59 <img src="{{../host}}{{image.thumb_url}}"/>
sass/_proposal_detail.scss
1 @each $category, $color in $categories { 1 @each $category, $color in $categories {
2 - 2 +.proposal-detail {
  3 + .#{$category}{
  4 + background-color: $color;
  5 + }
  6 +}
3 } 7 }