Skip to content

Commit d17b2b7

Browse files
authored
Merge pull request #198 from liip/feat/lesbarkeit-sidebar
feat: decrease to length of 30
2 parents daab394 + 460e4ad commit d17b2b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckanext/switzerland/templates/snippets/facet_list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{% for item in items %}
1010
{% set href = h.remove_url_param(name, item.name, extras=extras, alternative_url=alternative_url) if item.active else h.add_url_param(new_params={name: item.name}, extras=extras, alternative_url=alternative_url) %}
1111
{% set label = label_function(item) if label_function else h.parse_and_localize(item.display_name) %}
12-
{% set label_truncated = label|truncate(36) if not label_function else label %}
12+
{% set label_truncated = label|truncate(30) if not label_function else label %}
1313
{% set count = count_label(item['count']) if count_label else ('%d' % item['count']) %}
1414
<li class="nav-item {% if item.active %} active{% endif %}">
1515
<a href="{{ href }}" title="{{ label if label != label_truncated else '' }}">

0 commit comments

Comments
 (0)