Sha256: 300fc113ace506e2e9d2a7bdb049aefcadda5f959eca5ef867ae7ae664cefb5c
Contents?: true
Size: 1.78 KB
Versions: 1
Compression:
Stored size: 1.78 KB
Contents
<% content_for :thredded_page_title, t('thredded.messageboard.index.page_title') %> <% content_for :thredded_page_id, 'thredded--messageboards-index' %> <% content_for :thredded_breadcrumbs, render('thredded/shared/breadcrumbs') %> <%= thredded_page do %> <div class="thredded--svg-definitions"> <%= inline_svg 'thredded/follow.svg', id: 'thredded-follow-icon', title: nil %> <%= inline_svg 'thredded/lock.svg', id: 'thredded-lock-icon', title: nil %> </div> <%= view_hooks.messageboards_index.container.render self, groups: @groups do %> <section class="thredded--main-section thredded--messageboards"> <%= view_hooks.messageboards_index.list.render self, groups: @groups do %> <% @groups.each do |group| %> <% if group.name.present? %> <h3 class="thredded--messageboards-group--title"><%= group.name %></h3> <% end %> <div class="thredded--messageboards-group"> <%= view_hooks.messageboards_index.group.render self, group: group do %> <%= render partial: 'thredded/messageboards/messageboard', collection: group.messageboards %> <% end %> </div> <% end %> <% end %> <div class="thredded--messageboards--actions"> <% if policy(Thredded::Messageboard.new).create? %> <a class="thredded--button" href="<%= new_messageboard_path %>" rel="nofollow"> <%= t('thredded.messageboard.create') %> </a> <% end %> <% if policy(Thredded::MessageboardGroup.new).create? %> <a class="thredded--button" href="<%= new_messageboard_group_path %>" rel="nofollow"> <%= t('thredded.messageboard_group.create') %> </a> <% end %> </div> </section> <% end %> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.16.0 | app/views/thredded/messageboards/index.html.erb |