summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-04-26 13:28:24 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-05-04 13:52:55 +0200
commit3629dc338fbe6c351ce89a94caa4c238965ee33a (patch)
tree65263132237dc471c869b05b9071b773b7404924 /app/views/users
parent17b25bd263edaae70d5dae5fb035f5c28f9bb0cd (diff)
downloadgitlab-ce-3629dc338fbe6c351ce89a94caa4c238965ee33a.tar.gz
Display terms to a user
When terms are present, they can be viewed on `/-/users/terms`.
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/terms/index.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/users/terms/index.html.haml b/app/views/users/terms/index.html.haml
new file mode 100644
index 00000000000..49fdab84069
--- /dev/null
+++ b/app/views/users/terms/index.html.haml
@@ -0,0 +1,2 @@
+.panel-content.rendered-terms
+ = markdown_field(@terms, :terms)