Skip to content
GitLab
Menu
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
e5da94a6
Commit
e5da94a6
authored
Dec 16, 2013
by
fred
Browse files
add width/height attributes for image in news small view
parent
56bbbce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb_templates/templates/news/inline.html
View file @
e5da94a6
...
...
@@ -10,8 +10,8 @@
<div
class=
"logo"
>
{% if class == "special" and content.image %}
<img
class=
"normal"
src=
"{{ content.image|thumbnail:'480x320' }}"
/>
{% elif content.image %}
<img
class=
"left"
src=
"{{ content.image|thumbnail:'60x60' }}"
/>
{% elif content.image %}
<img
class=
"left"
width=
"60"
height=
"60"
src=
"{{ content.image|thumbnail:'60x60' }}"
/>
{% else %}
<img
class=
"left"
width=
"60"
height=
"60"
src=
"{% static "
img
/
actu.png
"
%}"
/>
{% endif %}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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