Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
c74e6a72
Commit
c74e6a72
authored
Oct 09, 2016
by
Andreas Valder
Browse files
renamed jobs, added "equalto" for debian with old jinja2
parent
48d649fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
worker
.py
→
jobs
.py
View file @
c74e6a72
File moved
server.py
View file @
c74e6a72
...
...
@@ -106,6 +106,10 @@ def handle_errors(endpoint, text, code, *errors, **epargs):
def
handle_not_found
(
e
):
return
render_endpoint
(
'index'
,
'Diese Seite existiert nicht!'
),
404
@
app
.
template_filter
(
name
=
'equalto'
)
def
equalto
(
a
,
b
):
return
a
==
b
@
app
.
template_filter
(
name
=
'semester'
)
def
human_semester
(
s
,
long
=
False
):
if
not
s
or
s
==
'zeitlos'
or
len
(
s
)
!=
6
:
...
...
@@ -476,5 +480,5 @@ if 'ICAL_URL' in config:
import
meetings
if
'L2P_APIKEY'
in
config
:
import
l2pauth
import
worker
import
jobs
import
timetable
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