scinote-web/app/views/user_notifications/index.html.erb

21 lines
715 B
Plaintext
Raw Normal View History

<% provide(:head_title, raw(t("notifications.title"))) %>
<div class="notifications-container">
<div class="notifications-header">
<span><%= t('notifications.title') %></span><span class="pull-right"><%= t('nav.user.settings') %></span>
</div>
<div class="notifications-body">
2016-10-03 20:40:15 +08:00
<ul class="notifications-list">
<%= render 'list', notifications: @notifications %>
2016-10-03 20:40:15 +08:00
</ul>
</div>
<div class="notifications-footer">
<% if @overflown %>
<a class="btn-more-notifications col-xs-12" href="<%= @more_notifications_url %>" data-remote="true">
<span><%= t('notifications.show_more') %></span>
</a>
<% end %>
</div>
2016-10-03 20:40:15 +08:00
</div>
<%= javascript_include_tag("notifications") %>