Adds tabs for notifications on proposal show

This commit is contained in:
Alberto Garcia Cabeza
2016-06-06 17:26:48 +02:00
parent 86f0cae7bb
commit 84f9dcaa76
10 changed files with 166 additions and 85 deletions

View File

@@ -118,5 +118,14 @@
</div>
</section>
<% end %>
<%= render "proposals/notifications" %>
<%= render "proposals/comments" %>
<div class="tabs-content" data-tabs-content="example-tabs">
<% if @notifications.present? %>
<%= render "proposals/filter_subnav" %>
<%= render "proposals/notifications" %>
<% end %>
<div class="tabs-panel is-active" id="tab-comments">
<%= render "proposals/comments" %>
</div>
</div>