summaryrefslogtreecommitdiff
path: root/templates/landingpage.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r--templates/landingpage.html.ep4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep
index b7ba22a..fa9bf8a 100644
--- a/templates/landingpage.html.ep
+++ b/templates/landingpage.html.ep
@@ -112,7 +112,9 @@
<div class="col s1 m1 l3">
</div>
<div class="col s10 m10 l6 center-align">
- <a href="/register" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i>Registrieren</a>
+ % if (not app->config->{registration}{disabled}) {
+ <a href="/register" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">add</i>Registrieren</a>
+ % }
<a href="/login" class="waves-effect waves-light btn"><i class="material-icons left" aria-hidden="true">account_circle</i>Anmelden</a>
</div>
<div class="col s1 m1 l3">