Commit f40b7ae9cdb7e30d028a3f12d96335b432ac1fba
1 parent
ebd21cc6
Exists in
master
and in
11 other branches
proposals_discussion: fix proposals list header
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
views/content_viewer/_proposals_list.html.erb
@@ -17,6 +17,7 @@ | @@ -17,6 +17,7 @@ | ||
17 | </div> | 17 | </div> |
18 | <% end %> | 18 | <% end %> |
19 | 19 | ||
20 | +<h5><%= _('Proposals') %></h5> | ||
20 | <div class="proposals"> | 21 | <div class="proposals"> |
21 | <div class="more"> | 22 | <div class="more"> |
22 | <img src="/images/loading.gif" alt="Loading" /><%= _("Loading...") %> | 23 | <img src="/images/loading.gif" alt="Loading" /><%= _("Loading...") %> |
views/content_viewer/_proposals_list_content.html.erb
1 | -<% unless proposals.empty? %> | ||
2 | - <h5><%= _('Proposals') %></h5> | ||
3 | -<% end %> | ||
4 | - | ||
5 | <%= render :partial => 'content_viewer/proposal_card', :collection => proposals %> | 1 | <%= render :partial => 'content_viewer/proposal_card', :collection => proposals %> |
6 | 2 | ||
7 | <div class="more"> | 3 | <div class="more"> |