mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
* Fix missing translation in roadmap * Fix resizing of textareas * Increase line height for small muted texts * Improve collapsed board list style * Fix switch on top of header (z-index) * Fix margin inconsistencies in site settings * Add user count to site settings
19 lines
768 B
Plaintext
19 lines
768 B
Plaintext
<% if @tenant_setting.collapse_boards_in_header == 'always_collapse' %>
|
|
<li class="navbar-nav nav-item dropdown">
|
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
Boards
|
|
</a>
|
|
<ul class="dropdown-menu boards-dropdown" aria-labelledby="navbarDropdown">
|
|
<% boards.each do |board| %>
|
|
<li>
|
|
<%= link_to board.name, board_path(board), class: 'dropdown-item' %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
<% else %>
|
|
<% boards.each do |board| %>
|
|
<li class="nav-item<%= board.id == @board.id ? ' active' : '' unless @board.nil? %>">
|
|
<%= link_to board.name, board_path(board), class: 'nav-link' %>
|
|
</li>
|
|
<% end %>
|
|
<% end %> |