aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/register.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-07 17:19:29 +0200
committerMario <mario@mariovavti.com>2021-04-07 17:19:29 +0200
commit6956eadaad637561561fad83727043f56f36f1b4 (patch)
tree655e176a84cb31cb1b3c8c84231434e8d9b0a3a8 /view/tpl/register.tpl
parent9542c1d63c988afe4c482023bdb3f0b547957808 (diff)
downloadvolse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.tar.gz
volse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.tar.bz2
volse-hubzilla-6956eadaad637561561fad83727043f56f36f1b4.zip
registrations: minor cleanup
Diffstat (limited to 'view/tpl/register.tpl')
-rw-r--r--view/tpl/register.tpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index b38507f92..119c47bd8 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -5,9 +5,10 @@
<div class="section-content-wrapper">
<form action="register" method="post" id="register-form">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
- {{if $reg_is || $other_sites || $now}}
+ {{if $reg_is || $other_sites || $now || $msg}}
<div class="section-content-warning-wrapper">
<h3>{{$now}}</h3>
+ <div id="register-desc" class="descriptive-paragraph">{{$msg}}</div>
<div id="register-desc" class="descriptive-paragraph">{{$reg_is}}</div>
<div id="register-sites" class="descriptive-paragraph">{{$other_sites}}</div>
</div>
@@ -59,8 +60,6 @@
<button class="btn btn-primary" type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" {{$atform}}>{{$submit}}</button>
<div id="register-submit-end" class="register-field-end"></div>
</form>
- <br />
- <div class="descriptive-text">{{$verify_note}} {{$msg}}</div>
</div>
</div>
{{*
@@ -76,7 +75,7 @@
{{$tao}}
- var week_days = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'];
+ var week_days = ['Monday', 'Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'];
$('.register_date').each( function () {
var date = new Date($(this).data('utc'));
$(this).html(date.toLocaleString(undefined, {weekday: 'short', hour: 'numeric', minute: 'numeric'}));