Skip to content

Commit

Permalink
Display the filter breadcrumb in the project list aboutcode-org#1437
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Jan 13, 2025
1 parent 1691bd1 commit ce4e46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ For example, to create multiple projects from files in a directory named

$ docker compose run --rm \
--volume local-data/:/input-data:ro \
web scanpipe batch-create input-data/
web scanpipe batch-create /input-data

**Options**:

Expand Down
4 changes: 3 additions & 1 deletion scanpipe/templates/scanpipe/project_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
{% include 'scanpipe/includes/breadcrumb.html' %}
{{ filter.form.is_archived }}
{% if filter.is_active %}
<a class="is-grey-link" href="{% url 'project_list' %}">
{{ paginator.count|intcomma }} results
<a class="is-grey-link ml-2" href="{% url 'project_list' %}">
<i class="fa-solid fa-times"></i> Clear search and filters
</a>
{% endif %}
{% include 'scanpipe/includes/filters_breadcrumb.html' with filterset=filter only %}
</div>
<div class="has-text-right">
<a href="{% url 'project_add' %}" class="button is-smaller is-link">New Project</a>
Expand Down

0 comments on commit ce4e46a

Please sign in to comment.