Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hypha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ots
hypha
Commits
a34a3d59
Commit
a34a3d59
authored
7 years ago
by
Chris Lawton
Browse files
Options
Downloads
Patches
Plain Diff
don't show the filters if there are no results from the search
parent
8721746a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
opentech/apply/dashboard/templates/dashboard/dashboard.html
+18
-17
18 additions, 17 deletions
opentech/apply/dashboard/templates/dashboard/dashboard.html
with
18 additions
and
17 deletions
opentech/apply/dashboard/templates/dashboard/dashboard.html
+
18
−
17
View file @
a34a3d59
...
@@ -15,28 +15,29 @@
...
@@ -15,28 +15,29 @@
</div>
</div>
<div
class=
"wrapper wrapper--large wrapper--top-bottom-inner-space"
>
<div
class=
"wrapper wrapper--large wrapper--top-bottom-inner-space"
>
{% if filter %}
<div
class=
"button button--filters button--contains-icons js-open-filters"
>
Filter By
<svg
class=
"icon icon--filters icon--small"
><use
xlink:href=
"#filters"
></use></svg>
<svg
class=
"icon icon--filters icon--small"
><use
xlink:href=
"#filters"
></use></svg>
</div>
<div
class=
"wrapper wrapper--filters js-filter-wrapper"
>
{% if object_list|length > 0 %}
{% if filter %}
<div
class=
"button button--filters button--contains-icons js-open-filters"
>
Filter By
</div>
<div
class=
"wrapper wrapper--filters-header"
>
<div
class=
"wrapper wrapper--filters js-filter-wrapper"
>
<div
class=
"js-clear-filters"
>
Clear
</div>
<div
class=
"wrapper wrapper--filters-header"
>
<div>
Filter by
</div>
<div
class=
"js-clear-filters"
>
Clear
</div>
<div
class=
"js-close-filters"
>
Close
</div>
<div>
Filter by
</div>
</div>
<div
class=
"js-close-filters"
>
Close
</div>
</div>
<form
action=
""
method=
"get"
class=
"form form--filters"
>
<form
action=
""
method=
"get"
class=
"form form--filters"
>
<ul
class=
"form__filters select2 js-filter-list"
>
<ul
class=
"form__filters select2 js-filter-list"
>
{{ filter.form.as_ul }}
{{ filter.form.as_ul }}
<button
class=
"button button--primary"
type=
"submit"
value=
"Filter"
>
Filter
</button>
<button
class=
"button button--primary"
type=
"submit"
value=
"Filter"
>
Filter
</button>
</ul>
</ul>
</form>
</form>
</div>
</div>
{% endif %}
{% endif %}
{% endif %}
{% render_table table %}
{% render_table table %}
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment