Use trimmedwords_html instead of a custom filter
This commit is contained in:
parent
1e08eeb4c2
commit
b61a7cccff
3 changed files with 211 additions and 17 deletions
|
@ -2,7 +2,7 @@
|
|||
{% with 0|uuid as uuid %}
|
||||
{% if full %}
|
||||
|
||||
{% with full|text_overflow as trimmed %}
|
||||
{% with full|truncatewords_html:60 as trimmed %}
|
||||
{% if trimmed != full %}
|
||||
<div>
|
||||
<input type="radio" name="show-hide-{{ uuid }}" id="show-{{ uuid }}" class="toggle-control" checked>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue