Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
d40c31c2
Commit
d40c31c2
authored
Feb 17, 2018
by
markus scheller
Browse files
Umstellen auf die neue Funktion in der TeX-Klasse: \Todo
#165
parent
d9712f8b
Changes
1
Show whitespace changes
Inline
Side-by-side
models/database.py
View file @
d40c31c2
...
...
@@ -611,7 +611,7 @@ class Todo(DatabaseModel):
return
" "
.
join
(
parts
)
def
render_latex
(
self
,
current_protocol
=
None
):
return
r
"\
textbf{{{}}}: {}: {} -- {
}"
.
format
(
return
r
"\
Todo{{{}}}{{{}}}{{{}}}{{{}}
}"
.
format
(
"Neuer Todo"
if
self
.
is_new
(
current_protocol
)
else
"Todo"
,
escape_tex
(
self
.
who
),
escape_tex
(
self
.
description
),
...
...
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