Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
0ab630e9
Commit
0ab630e9
authored
Sep 24, 2020
by
Ira ㋡
Committed by
Kristian Klausen
Sep 04, 2021
Browse files
Add terms template with external links to project's terms and conditions
parent
ab2064e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/keycloak/files/theme/archlinux/login/terms.ftl
0 → 100644
View file @
0ab630e9
<#
import
"template.ftl" as layout>
<@
layout
.registrationLayout
displayMessage=false; section>
<#if section = "header">
$
{
msg
(
"termsTitle"
)}
<#elseif section = "form">
<div id="kc-terms-text">
$
{
kcSanitize
(
msg
(
"termsText"
))
?
no_esc
}
<ul style="margin-top: 10px;">
<li><a target="_blank" rel="noopener noreferrer" href="https://wiki.archlinux.org/index.php/Code_of_conduct">Code of Conduct</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://gitlab.archlinux.org/archlinux/service-agreements/-/blob/master/terms-of-service.md">Terms of Service</a></li>
<li><a target="_blank" rel="noopener noreferrer" href="https://gitlab.archlinux.org/archlinux/service-agreements/-/blob/master/privacy-policy.md">Privacy Policy</a></li>
</ul>
</div>
<form class="form-actions" action="$
{
url
.loginAction
}
" method="POST">
<input class="$
{
properties
.kcButtonClass
!
}
$
{
properties
.kcButtonPrimaryClass
!
}
$
{
properties
.kcButtonLargeClass
!
}
" name="accept" id="kc-accept" type="submit" value="$
{
msg
(
"doAccept"
)}
"/>
<input class="$
{
properties
.kcButtonClass
!
}
$
{
properties
.kcButtonDefaultClass
!
}
$
{
properties
.kcButtonLargeClass
!
}
" name="cancel" id="kc-decline" type="submit" value="$
{
msg
(
"doDecline"
)}
"/>
</form>
<div class="clearfix"></div>
</#if>
</@
layout
.registrationLayout
>
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