Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
42545d1e
Commit
42545d1e
authored
Dec 16, 2021
by
fred
Browse files
remove usage of obsolete |image_file filter
parent
f7fe3a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb/templates/combo/topik_menu_item.html
View file @
42545d1e
...
...
@@ -3,19 +3,13 @@
<div
class=
"topik inline cf"
>
<a
class=
"block cf topik-link"
href=
"{{page.get_online_url}}"
>
<div
class=
"logo"
>
{% with page|image_file as logo %}
{% if logo %}
{% thumbnail logo "60x60" crop="50% 25%" as im %}
<img
width=
"60"
height=
"60"
src=
"{{im.url}}"
/>
{% endthumbnail %}
{% elif page.picture %}
{% if page.picture %}
{% thumbnail page.picture "60x60" crop="50% 25%" as im %}
<img
width=
"60"
height=
"60"
src=
"{{im.url}}"
/>
{% endthumbnail %}
{% else %}
<img
src=
"/static/img/sound.png"
width=
"60"
height=
"60"
>
{% endif %}
{% endwith %}
</div>
<div
class=
"content"
>
<div
class=
"title"
>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment