aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-04-08 14:57:16 +0000
committerMario <mario@mariovavti.com>2021-04-08 14:57:16 +0000
commita9da370c0bf5777a0345744667240ef0c615dcaa (patch)
treeae69c65e68d2032b71ad4f6871413276dd643e73 /view/tpl
parentcf62e07bec8ffe6b9e5c92d56c13ee3cbe06b5bf (diff)
downloadvolse-hubzilla-a9da370c0bf5777a0345744667240ef0c615dcaa.tar.gz
volse-hubzilla-a9da370c0bf5777a0345744667240ef0c615dcaa.tar.bz2
volse-hubzilla-a9da370c0bf5777a0345744667240ef0c615dcaa.zip
register: cleanup template
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/js_strings.tpl4
-rw-r--r--view/tpl/register.tpl12
2 files changed, 3 insertions, 13 deletions
diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl
index 291d78fb2..c0d8d104e 100644
--- a/view/tpl/js_strings.tpl
+++ b/view/tpl/js_strings.tpl
@@ -69,8 +69,10 @@
'allday' : "{{$allday}}",
// mod cloud
+ 'download_info' : "{{$download_info}}",
- 'download_info' : "{{$download_info}}"
+ // mod register
+ 'email_not_valid' : "{{$email_not_valid}}"
};
diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl
index d6f70d118..06e58721a 100644
--- a/view/tpl/register.tpl
+++ b/view/tpl/register.tpl
@@ -71,17 +71,5 @@
hilmar, 2020.02
*}}
<script>
- $('head').append(
- '<style> '+
- ' .zuiqmid { font-weight: normal; font-family: monospace; }'+
- ' .zuirise { font-weight: bold; font-size: 100%; color: red; }'+
- '</style>');
- {{$tao}}
-
- 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'}));
- });
</script>