Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tanto
mukas
Commits
405ab447
Commit
405ab447
authored
Nov 30, 2022
by
tanto
Browse files
hide logs if disabled
parent
8c4e00c3
Pipeline
#731
passed with stage
in 45 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
templates/user.html
View file @
405ab447
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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