Commit fc35e0162513efa707be1f3f71448968e56f3dbb
1 parent
9c551925
Exists in
master
and in
11 other branches
adding image for proposal detail
Showing
1 changed file
with
20 additions
and
2 deletions
Show diff stats
index.html
| @@ -45,8 +45,26 @@ | @@ -45,8 +45,26 @@ | ||
| 45 | {{/list_proposal}} | 45 | {{/list_proposal}} |
| 46 | </ul> | 46 | </ul> |
| 47 | 47 | ||
| 48 | - {{#proposal_detail article.children}} | ||
| 49 | - {{/proposal_detail}} | 48 | + {{#each article.children}} |
| 49 | + <div class='proposal-detail hide' id="proposal-item-{{id}}"> | ||
| 50 | + <ul> | ||
| 51 | + {{#each categories}} | ||
| 52 | + <li>{{name}}</li> | ||
| 53 | + {{/each}} | ||
| 54 | + </ul> | ||
| 55 | + <img src="{{../host}}{{image.thumb_url}}"/> | ||
| 56 | + <div class='title'>{{title}}</div> | ||
| 57 | + <span>{{body}}</span> | ||
| 58 | + <div class='make-proposal'> | ||
| 59 | + <title>Faça sua proposta</title> | ||
| 60 | + </div> | ||
| 61 | + <div class='support-proposal'> | ||
| 62 | + <title> Apoie outras propostas</title> | ||
| 63 | + </div> | ||
| 64 | + <div class='experience-proposal'>Conte sua experiência</div> | ||
| 65 | + <div class='talk-proposal'>Fale com o ministro</div> | ||
| 66 | + </div> | ||
| 67 | + {{/each}} | ||
| 50 | 68 | ||
| 51 | </script> | 69 | </script> |
| 52 | 70 |