Commit 75d33aaab9370bcd60c9eb8b1332c2689e0c2cbf
1 parent
d7e2feb8
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
proposals_discussion: fix proposals list header
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
plugins/proposals_discussion/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...") %> |
plugins/proposals_discussion/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"> |