Commit ab8da8834234bdff73120984d7c918de744d9048
1 parent
2cc616fc
Exists in
master
and in
11 other branches
Change from body to abstract
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
js/handlebars-helpers.js
... | ... | @@ -26,7 +26,7 @@ Handlebars.registerHelper('list_proposal', function(proposals, options) { |
26 | 26 | } |
27 | 27 | element = element + '</ul>'; |
28 | 28 | element = element + options.fn(proposals[i]); |
29 | - element = element + '<p>' + proposals[i].body + '</p>'; | |
29 | + element = element + '<p>' + (proposals[i].abstract ? proposals[i].abstract : '') + '</p>'; | |
30 | 30 | ret = ret + element + '</li>'; |
31 | 31 | } |
32 | 32 | return ret; | ... | ... |