Commit 65e1d48d3db0895c51186055370b4d6a4abfb623
1 parent
6109b5ea
Exists in
master
and in
10 other branches
Remove handlebars helper at index (for proposal-list)
Showing
1 changed file
with
15 additions
and
3 deletions
Show diff stats
index.html
| @@ -135,9 +135,21 @@ | @@ -135,9 +135,21 @@ | ||
| 135 | <div class="description"></div> | 135 | <div class="description"></div> |
| 136 | </div> | 136 | </div> |
| 137 | <ul class="proposal-list"> | 137 | <ul class="proposal-list"> |
| 138 | - {{#list_proposal ../article.children category=slug}} | ||
| 139 | - {{#link title id}}{{/link}} | ||
| 140 | - {{/list_proposal}} | 138 | + {{#each ../article.children}} |
| 139 | + <li class='proposal-item'> | ||
| 140 | + <a href="#/programas/{{id}}" data-target="proposal-item-{{id}}" class="proposal-link"> | ||
| 141 | + <div class='item'> | ||
| 142 | + {{title}} | ||
| 143 | + {{{abstract}}} | ||
| 144 | + <ul class='category'> | ||
| 145 | + {{#each categories}} | ||
| 146 | + <li class="category-{{slug}}">{{name}}</li> | ||
| 147 | + {{/each}} | ||
| 148 | + </ul> | ||
| 149 | + </div> | ||
| 150 | + </a> | ||
| 151 | + </li> | ||
| 152 | + {{/each}} | ||
| 141 | </ul> | 153 | </ul> |
| 142 | </div> | 154 | </div> |
| 143 | {{/each}} | 155 | {{/each}} |