- content_for :title, "Inbox"
- content_for :breadcrumbs do
  %li.breadcrumb-item.active= link_to 'Messages', notifications_path

- if @notifications.empty?
  .alert.alert-success{role: "alert"} You have no messages.
- else
  = paginate @notifications, theme: 'twitter-bootstrap-3'

  - @notifications.each do |n|
    .card.message
      .card-body
        .row
          .col-6.col-md-9
            %h3= link_to  n.subject, notification_path(n)
            %p
              - if n.read
                = icon 'far', 'envelope-open'
              - else
                = icon 'far', 'envelope'
                %strong unread
              = n.created_at
          .col-6.col-md-3.text-right
            = link_to n.sender do
              %h3
                = render 'members/tiny', member: n.sender
                = n.sender
            = render 'members/follow_buttons', member: n.sender
      .card-footer
        = link_to 'Read', n, class: 'btn btn-primary'
        = link_to 'Reply', reply_link(n), class: 'btn btn-secondary'
        = link_to n, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-default btn-danger btn-xs' do
          = delete_icon
          = t('buttons.delete')
  = paginate @notifications
- content_for :title, "Inbox"
- content_for :breadcrumbs do
  %li.breadcrumb-item.active= link_to 'Messages', notifications_path

- if @notifications.empty?
  .alert.alert-success{role: "alert"} You have no messages.
- else
  = paginate @notifications

  - @notifications.each do |n|
    .card.message
      .card-body
        .row
          .col-6.col-md-9
            %h3= link_to  n.subject, notification_path(n)
            %p
              - if n.read
                = icon 'far', 'envelope-open'
              - else
                = icon 'far', 'envelope'
                %strong unread
              = n.created_at
          .col-6.col-md-3.text-right
            = link_to n.sender do
              %h3
                = render 'members/tiny', member: n.sender
                = n.sender
            = render 'members/follow_buttons', member: n.sender
      .card-footer
        = link_to 'Read', n, class: 'btn btn-primary'
        = link_to 'Reply', reply_link(n), class: 'btn btn-secondary'
        = link_to n, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-default btn-danger btn-xs' do
          = delete_icon
          = t('buttons.delete')
  = paginate @notifications
Remove unnecesary theme param from pagination
Remove unnecesary theme param from pagination
