Commit 405ab447 authored by tanto's avatar tanto
Browse files

hide logs if disabled

parent 8c4e00c3
Pipeline #731 passed with stage
in 45 seconds
......@@ -107,12 +107,14 @@
}
);
</script>
<div>
<h4 id="userlog">log:</h4>
</div>
<div id="userlogdiv" style="overflow-y: scroll; max-height: 18em;">
{{ loglist(log, user) }}
</div>
{% if user.allow_logging != 0 %}
<div>
<h4 id="userlog">log:</h4>
</div>
<div id="userlogdiv" style="overflow-y: scroll; max-height: 18em;">
{{ loglist(log, user) }}
</div>
{% endif %}
</div>
......
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