Skip to content
Snippets Groups Projects
Unverified Commit 522af8f6 authored by Fredrik Jonsson's avatar Fredrik Jonsson Committed by GitHub
Browse files

Remove filters from tables on dashboards. (#3949)

Fixes #3911
parent faf66cbf
No related branches found
No related tags found
1 merge request!89Upgrade to 5.10.0
...@@ -91,14 +91,11 @@ ...@@ -91,14 +91,11 @@
{% if PROJECTS_ENABLED and projects.table.data %} {% if PROJECTS_ENABLED and projects.table.data %}
<div id="active-projects" class="wrapper wrapper--bottom-space"> <div id="active-projects" class="wrapper wrapper--bottom-space">
{% trans "Your projects" as project_heading %} {% trans "Your projects" as project_heading %}
{% include "funds/includes/table_filter_and_search.html" with filter=projects.filterset filter_action=projects.url search_term=search_term search_action=projects.url search_placeholder="projects" use_search=True use_batch_actions=False heading="Your projects" %}
{% render_table projects.table %} {% render_table projects.table %}
{% if projects.display_more %} <div class="all-submissions-table__more">
<div class="all-submissions-table__more"> <a href="{{ projects.url }}?lead={{ request.user.pk }}">{% trans "Show all" %}</a>
<a href="{{ projects.url }}?lead={{ request.user.pk }}">{% trans "Show all" %}</a> </div>
</div>
{% endif %}
</div> </div>
{% endif %} {% endif %}
......
...@@ -30,14 +30,11 @@ ...@@ -30,14 +30,11 @@
<div class="wrapper wrapper--bottom-space"> <div class="wrapper wrapper--bottom-space">
{% trans "Your previous reviews" as review_heading %} {% trans "Your previous reviews" as review_heading %}
{% include "funds/includes/table_filter_and_search.html" with filter=my_reviewed.filterset filter_action=my_reviewed.url search_term=search_term search_action=my_reviewed.url use_search=True use_batch_actions=False heading=review_heading %}
{% render_table my_reviewed.table %} {% render_table my_reviewed.table %}
{% if my_reviewed.display_more %} <div class="all-submissions-table__more">
<div class="all-submissions-table__more"> <a href="{{ my_reviewed.url }}?reviewers={{ request.user.pk }}">{% trans "Show all" %}</a>
<a href="{{ my_reviewed.url }}?reviewers={{ request.user.pk }}">{% trans "Show all" %}</a> </div>
</div>
{% endif %}
</div> </div>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment