aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-08 19:55:53 +0000
committerMario <mario@mariovavti.com>2021-04-08 19:55:53 +0000
commit18b6d48944be414acc179fb82f458f996810e5a3 (patch)
tree4f45574a53e74d74293c6421103643249a4bf2b0 /view/tpl/register.tpl
parentf3fa09fc91fe4ca2a44ee4f60d11c5ee70fcefad (diff)
downloadvolse-hubzilla-18b6d48944be414acc179fb82f458f996810e5a3.tar.gz
volse-hubzilla-18b6d48944be414acc179fb82f458f996810e5a3.tar.bz2
volse-hubzilla-18b6d48944be414acc179fb82f458f996810e5a3.zip
rgister: fixes for registering with invitecode outside of open hours
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r--view/tpl/register.tpl17
1 files changed, 11 insertions, 6 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index 06e58721a..7940b8945 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -29,6 +29,17 @@
{{include file="field_select_grouped.tpl" field=$role}}
{{/if}}
+ {{if $invitations}}
+ <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a>
+ <div id="zar015" style="display: none;">
+ <div class="position-relative">
+ <div id="invite-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div>
+ {{include file="field_input.tpl" field=[$invite_code.0,$invite_code.1,"","",""]}}
+ </div>
+ </div>
+ {{/if}}
+
+
<div class="position-relative">
<div id="name-spinner" class="spinner-wrapper position-absolute" style="top: 2.5rem; right: 0.5rem;"><div class="spinner s"></div></div>
{{include file="field_input.tpl" field=[$name.0,$name.1,"","","",$atform]}}
@@ -40,12 +51,6 @@
{{/if}}
<div>
- {{if $invitations}}
- <a id="zar014" href="javascript:;" style="display: inline-block;">{{$haveivc}}</a>
- <div id="zar015" style="display: none;">
- {{include file="field_input.tpl" field=[$invite_code.0,$invite_code.1,"","",""]}}
- </div>
- {{/if}}
{{include file="field_input.tpl" field=$email}}
</div>