Sha256: 0d250c04d46981389c5c6092dd6a882425d7ecea7a32ea441e9e8b5b4e19f49e

Contents?: true

Size: 720 Bytes

Versions: 6

Compression:

Stored size: 720 Bytes

Contents

<%= content_tag :article,
                id:    dom_id(topic),
                class: ['thredded--topics--topic', topic_css_classes(topic)] do %>
  <div class="thredded--topics--posts-count"><%= topic.posts_count %></div>

  <h1 class="thredded--topics--title">
    <%= link_to topic.title, topic.path %>
  </h1>

  <% if topic.categories.any? %>
    <ul class="thredded--topics--categories">
      <%= render topic.categories %>
    </ul>
  <% end %>

  <cite class="thredded--topics--updated-by">
    <%= time_ago topic.updated_at %>
    <%= user_link topic.last_user %>
  </cite>

  <cite class="thredded--topics--started-by">
    <%= time_ago topic.created_at %>
    <%= user_link topic.user %>
  </cite>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thredded-0.5.1 app/views/thredded/topics/_topic.html.erb
thredded-0.5.0 app/views/thredded/topics/_topic.html.erb
thredded-0.4.0 app/views/thredded/topics/_topic.html.erb
thredded-0.3.2 app/views/thredded/topics/_topic.html.erb
thredded-0.3.1 app/views/thredded/topics/_topic.html.erb
thredded-0.3.0 app/views/thredded/topics/_topic.html.erb