summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-08-23 14:32:42 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-08-23 14:41:19 +0200
commitad5093b7a63d8b223c19953dc37cc33c31631be8 (patch)
tree47ec213b84b097cdee0e87d805c0361acb508bb5 /core
parent04a744742a06f6f274f7d61fa5d0ab3c6fa72203 (diff)
downloadnextcloud-server-ad5093b7a63d8b223c19953dc37cc33c31631be8.tar.gz
nextcloud-server-ad5093b7a63d8b223c19953dc37cc33c31631be8.zip
Show link to simple sign up page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core')
-rw-r--r--core/css/public.scss4
-rw-r--r--core/templates/layout.public.php9
2 files changed, 12 insertions, 1 deletions
diff --git a/core/css/public.scss b/core/css/public.scss
index a4e7ed579b9..cac98f23f92 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -1,4 +1,4 @@
-$footer-height: 60px;
+$footer-height: 65px;
#body-public {
.header-right {
@@ -75,7 +75,9 @@ $footer-height: 60px;
align-items: center;
justify-content: center;
height: $footer-height;
+ flex-direction: column;
p {
+ text-align: center;
color: var(--color-text-lighter);
a {
color: var(--color-text-lighter);
diff --git a/core/templates/layout.public.php b/core/templates/layout.public.php
index 13baf194010..0558da52d0b 100644
--- a/core/templates/layout.public.php
+++ b/core/templates/layout.public.php
@@ -79,6 +79,15 @@
<?php if(isset($template) && $template->getFooterVisible()) { ?>
<footer>
<p><?php print_unescaped($theme->getLongFooter()); ?></p>
+ <?php
+ if ($_['showSimpleSignUpLink']) {
+ ?>
+ <p>
+ <a href="https://nextcloud.com/signup/" target="_blank" rel="noreferrer noopener">Get your own free account</a>
+ </p>
+ <?php
+ }
+ ?>
</footer>
<?php } ?>