<details class="box ux-toolkit-dashboard-block" data-dashboard-block="<%= block %>" open>
  <%= render 'block_header', block: block, title_key: :label_ux_toolkit_favorite_issue_filters %>
  <div class="ux-toolkit-dashboard-block-body">
    <% if queries.any? %>
      <ul class="ux-toolkit-dashboard-list">
        <% queries.each do |query| %>
          <li>
            <%= link_to query.name, ux_toolkit_query_path(query) %>
            <% if query.project %><span class="meta"><%= link_to_project(query.project) %></span><% end %>
          </li>
        <% end %>
      </ul>
    <% else %>
      <p class="nodata"><%= l(:text_ux_toolkit_no_favorite_queries) %></p>
    <% end %>
    <%= render 'block_footer', block: block %>
  </div>
</details>
