Sha256: 93b103ef163c14c75d8632c2fdb488e4bdaf6220da400c6efe46df407a595375
Contents?: true
Size: 1.09 KB
Versions: 18
Compression:
Stored size: 1.09 KB
Contents
<% if policy(messageboard).read? %> <%= view_hooks.messageboards_index.messageboard.render self, messageboard: messageboard do %> <%= link_to messageboard_topics_path(messageboard), class: 'thredded--messageboard' do %> <header class="thredded--messageboard--header"> <h2 class="thredded--messageboard--title"><%= messageboard.name %></h2> <h3 class="thredded--messageboard--meta"> <%= t 'thredded.messageboard.topics_and_posts_counts', topics_count: number_with_delimiter(messageboard.topics_count), posts_count: number_with_delimiter(messageboard.posts_count) %> </h3> </header> <p class="thredded--messageboard--description"><%= messageboard.description %></p> <% if messageboard.last_topic %> <p class="thredded--messageboard--byline"> <%= t 'thredded.messageboard.last_updated_by_html', time_ago: time_ago(messageboard.last_topic.last_post_at), user: messageboard.last_user.thredded_display_name %> </p> <% end %> <% end %> <% end %> <% end %>
Version data entries
18 entries across 18 versions & 1 rubygems