Show sign-up botton only when allow_registration setting is false - refs BT#13838

pull/2458/head
Angel Fernando Quiroz Campos 8 years ago
parent c9257e83ec
commit f26113ecd8
  1. 2
      main/template/default/session/about.tpl

@ -239,7 +239,7 @@
{% if _u.logged and not is_subscribed %}
{{ subscribe_button }}
{% elseif not _u.logged %}
{% if 'allow_registration'|api_get_setting == 'true' %}
{% if 'allow_registration'|api_get_setting != 'false' %}
<a href="{{ _p.web_main ~ 'auth/inscription.php' ~ redirect_to_session }}" class="btn btn-info btn-lg">
<i class="fa fa-pencil" aria-hidden="true"></i> {{ 'SignUp'|get_lang }}
</a>

Loading…
Cancel
Save