Merge pull request #8634 from jryans/ansible-snip

Add snipping lines to welcome page without guests
pull/8764/head
J. Ryan Stinnett 2019-02-14 16:25:07 +00:00 committed by GitHub
commit b3f2857c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -166,6 +166,11 @@ h1::after {
<div class="mx_ButtonLabel">_t("Create Account")</div> <div class="mx_ButtonLabel">_t("Create Account")</div>
</a> </a>
</div> </div>
<!-- The comments below are meant to be used by Ansible as a quick way
to strip out the marked content when desired.
See https://github.com/vector-im/riot-web/issues/8622.
TODO: Convert to config option if possible. -->
<!-- BEGIN Ansible: Remove these lines when guest access is disabled -->
<div class="mx_ButtonRow"> <div class="mx_ButtonRow">
<div> <div>
<div class="mx_ButtonWrapperText">_t("Need help?")</div> <div class="mx_ButtonWrapperText">_t("Need help?")</div>
@ -180,5 +185,6 @@ h1::after {
</a> </a>
</div> </div>
</div> </div>
<!-- END Ansible: Remove these lines when guest access is disabled -->
</div> </div>
</div> </div>