mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Styled facets with different bullets
This commit is contained in:
parent
df19a48a3b
commit
fe5e813f06
2 changed files with 14 additions and 3 deletions
|
|
@ -132,7 +132,7 @@
|
|||
<a href="{{ facet_info.toggle_url }}" class="cross">✖</a>
|
||||
{% endif %}
|
||||
</p>
|
||||
<ul>
|
||||
<ul class="tight-bullets">
|
||||
{% for facet_value in facet_info.results %}
|
||||
{% if not facet_value.selected %}
|
||||
<li><a href="{{ facet_value.toggle_url }}">{{ (facet_value.label if facet_value.label is not none else "_") }}</a> {{ "{:,}".format(facet_value.count) }}</li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue