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
thalia
concrexit
Commits
54be451b
Commit
54be451b
authored
Dec 16, 2018
by
Luko van der Maas
Browse files
Merge branch 'fix/thabloids-filters' into 'master'
Fix thabloid filtering column/rows Closes
#793
See merge request
!1092
parents
c83f1da1
30ced51b
Changes
2
Hide whitespace changes
Inline
Side-by-side
website/thabloid/templates/thabloid/index.html
View file @
54be451b
...
...
@@ -57,9 +57,7 @@
<div
class=
"row"
>
{% for thabloid in thabloids %}
<div
class=
"col-6 col-md-3 my-3"
>
{% thabloid_card year thabloid %}
</div>
{% thabloid_card year thabloid %}
{% endfor %}
</div>
</div>
...
...
website/thabloid/templatetags/thabloid_cards.py
View file @
54be451b
...
...
@@ -32,5 +32,5 @@ def thabloid_card(year, thabloid):
meta_text
=
buttons
,
url
=
None
,
image_url
=
thumbnail
(
thabloid
.
cover
,
'255x360'
),
class_name
=
f
'thabloid-card mix
{
class_name
}
'
,
class_name
=
f
'thabloid-card mix
{
class_name
}
col-6 col-md-3 my-3
'
,
)
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