Sha256: 507241602823ded8470c196d7b60f0d6a53097541b93a2623427ef291aa0201a

Contents?: true

Size: 865 Bytes

Versions: 19

Compression:

Stored size: 865 Bytes

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 %>
      <table class="table table-striped">
        <% @watched_discussions.each do |discussion| %>
          <tr>
            <td>
              <%= icon_for_read(discussion.read_by?(@user)) %>
            </td>
            <td><%= link_to discussion.item.name, item_discussion_path(discussion) %></td>
            <td><%= time_ago_in_words discussion.last_message_date %></td>
          </tr>
        <% end %>
      </table>
    <% end %>
  </div>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
mumuki-laboratory-9.9.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.8.2 app/views/users/discussions.html.erb
mumuki-laboratory-9.8.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.8.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.7.2 app/views/users/discussions.html.erb
mumuki-laboratory-9.7.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.7.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.6.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.5.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.5.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.4.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.4.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.3.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.3.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.2.0 app/views/users/discussions.html.erb
mumuki-laboratory-9.1.3 app/views/users/discussions.html.erb
mumuki-laboratory-9.1.2 app/views/users/discussions.html.erb
mumuki-laboratory-9.1.1 app/views/users/discussions.html.erb
mumuki-laboratory-9.1.0 app/views/users/discussions.html.erb