{% import "macros/explorer.html" as nav %}
{% if pending %}
{{- nav::empty_row("Indexing paths...", empty_colspan) -}}
{% else if rows.is_empty() %}
{{- nav::empty_row("No matching paths.", empty_colspan) -}}
{% else %}
{% for row in rows %}
<tr>
  {{- nav::icon_cell(row.is_dir) -}}
  <td class="ghrm-nav-name">
    <a class="ghrm-search-path" href="{{ row.href }}">{{ row.html|safe }}</a>
  </td>
  {%- for cell in row.cells %}
  {{- nav::data_cell(cell) -}}
  {%- endfor %}
</tr>
{% endfor %}
{% endif %}
