blob: d99e1d01e8145e0b3152e94f7c68fe1b313aa42c (
plain)
1
2
3
4
|
<div class="btn-group ag-view-selection" role="group" aria-label="Message view selection">
<a href="/<%= h list %>/threads/<%= h params[:year] %>-<%= h params[:month] %>/" class="btn btn-<% if mode == :threads%>primary<% else %>outline-secondary<% end %>">Threads</a>
<a href="/<%= h list %>/messages/<%= h params[:year] %>-<%= h params[:month] %>/" class="btn btn-<% if mode == :messages%>primary<% else %>outline-secondary<% end %>">Messages</a>
</div>
|