Adds notification menu and message for empty notifications

This commit is contained in:
Alberto Garcia Cabeza
2016-06-15 21:00:56 +02:00
parent 017ccfb378
commit dd7629b5af
5 changed files with 10 additions and 13 deletions

View File

@@ -1,6 +1,12 @@
<div class="tabs-panel" id="tab-notifications">
<div class="row">
<div class="small-12 column">
<% if @notifications.blank? %>
<div class="callout primary text-center">
<%= t('proposals.show.no_notifications') %>
</div>
<% end %>
<% @notifications.each do |notification| %>
<h3><%= notification.title %></h3>
<p class="more-info"><%= notification.created_at.to_date %></p>