Sha256: cb54fb03ac5dbd500aaef8f5f51afabeb28356351cd07c16af4ba13b9ecbecb4

Contents?: true

Size: 1.06 KB

Versions: 20

Compression:

Stored size: 1.06 KB

Contents

<%= content_for :breadcrumbs do %>
  <%= breadcrumbs_for_my_account %>
<% end %>

<div class="row">
  <%= render partial: 'layouts/user_menu' %>

  <div class="col-md-9 mu-tab-body">
    <div class="mu-user-header">
      <h1><%= t(:discussions) %></h1>
    </div>
    <% if @watched_discussions.empty? %>
      <div class="mu-tab-body">
        <%= t :discussions_will_be_here %>
      </div>
    <% else %>
      <div class="table-responsive mb-3">
        <table class="table">
          <% @watched_discussions.each do |discussion| %>
            <% if discussion.read_by?(@user) != @last_read %>
              <%= user_discussions_table_title(discussion, @user, @last_read) %>
              <% @last_read = discussion.read_by?(@user) %>

              <%= user_discussions_table_header %>
            <% end %>

            <%= user_discussions_table_item(discussion, @user) %>
          <% end %>
        </table>
      </div>

      <div class="discussion-pagination">
        <%= paginate @watched_discussions, nav_class: 'pagination' %>
      </div>

    <% end %>
  </div>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
mumuki-laboratory-9.23.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.22.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.21.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.20.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.20.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.19.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.18.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.18.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.17.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.16.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.15.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.14.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.14.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.13.2 app/views/users/discussions.html.erb
mumuki-laboratory-9.13.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.13.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.12.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.12.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.11.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.10.0 app/views/users/discussions.html.erb