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
b983c4e2
Commit
b983c4e2
authored
Aug 20, 2013
by
Simon Daron
Browse files
MaHome with all living emissions
parent
2faa8f7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
panikweb/views.py
View file @
b983c4e2
...
...
@@ -154,7 +154,7 @@ class Home(TemplateView):
def
get_context_data
(
self
,
**
kwargs
):
context
=
super
(
Home
,
self
).
get_context_data
(
**
kwargs
)
context
[
'emissions'
]
=
Emission
.
objects
.
all
(
).
order_by
(
'?'
)
[:
5
]
context
[
'emissions'
]
=
Emission
.
objects
.
filter
(
archived
=
False
).
order_by
(
'?'
)
return
context
home
=
Home
.
as_view
()
...
...
panikweb_templates/static/css/specifics.css
View file @
b983c4e2
...
...
@@ -100,7 +100,7 @@ body {
font-family
:
"RegloNormal"
;
line-height
:
normal
;
text-align
:
left
;
margin
:
40px
auto
;
margin
:
1.8em
auto
;
/*padding: 0px 10px;*/
clear
:
both
;
}
...
...
Write
Preview
Markdown
is supported
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