Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a652cbc3
Commit
a652cbc3
authored
Apr 21, 2015
by
Mathieu Giraud
Committed by
Vidjil Team
Apr 21, 2015
Browse files
controllers/admin.py, admin/showlog.html: calls log_links() on 'file' field
parent
29e37231
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/controllers/admin.py
View file @
a652cbc3
...
...
@@ -83,7 +83,7 @@ def showlog():
line
[
"date"
]
=
tmp
[
1
]
line
[
"date2"
]
=
tmp
[
2
].
split
(
','
)[
0
]
line
[
"type"
]
=
tmp
[
3
]
line
[
"file"
]
=
tmp
[
5
]
line
[
"file"
]
=
vidjil_utils
.
log_links
(
tmp
[
5
]
)
if
tmp
[
6
]
!=
"Creating"
:
if
len
(
tmp
)
<
9
:
...
...
server/web2py/applications/vidjil/views/admin/showlog.html
View file @
a652cbc3
...
...
@@ -43,7 +43,7 @@
<td>
{{=line["date2"]}}
</td>
<td>
{{=line["user"]}}
</td>
<td>
{{=line["type"]}}
</td>
<td>
{{=line["file"]}}
</td>
<td>
{{=
XML(
line["file"]
)
}}
</td>
{{ pass }}
<td>
{{=XML(line["mes"])}}
</td>
</tr>
...
...
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