Commit a652cbc3 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

controllers/admin.py, admin/showlog.html: calls log_links() on 'file' field

parent 29e37231
...@@ -83,7 +83,7 @@ def showlog(): ...@@ -83,7 +83,7 @@ def showlog():
line["date"] = tmp[1] line["date"] = tmp[1]
line["date2"] = tmp[2].split(',')[0] line["date2"] = tmp[2].split(',')[0]
line["type"] = tmp[3] line["type"] = tmp[3]
line["file"] = tmp[5] line["file"] = vidjil_utils.log_links(tmp[5])
if tmp[6] != "Creating": if tmp[6] != "Creating":
if len(tmp) < 9: if len(tmp) < 9:
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<td> {{=line["date2"]}} </td> <td> {{=line["date2"]}} </td>
<td> {{=line["user"]}} </td> <td> {{=line["user"]}} </td>
<td> {{=line["type"]}} </td> <td> {{=line["type"]}} </td>
<td> {{=line["file"]}} </td> <td> {{=XML(line["file"])}} </td>
{{ pass }} {{ pass }}
<td> {{=XML(line["mes"])}} </td> <td> {{=XML(line["mes"])}} </td>
</tr> </tr>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment