diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-17 13:54:53 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-17 13:54:53 +0100 |
commit | 76af8fa754467e13bcd8c83620ac1c174e777170 (patch) | |
tree | 9d482e43f3aa7daf86c60bc0bef209b13af014ef /view | |
parent | 601ebee9692c3bb552100f08f789824c68bdd5e0 (diff) | |
download | volse-hubzilla-76af8fa754467e13bcd8c83620ac1c174e777170.tar.gz volse-hubzilla-76af8fa754467e13bcd8c83620ac1c174e777170.tar.bz2 volse-hubzilla-76af8fa754467e13bcd8c83620ac1c174e777170.zip |
inroduce the HQ module - a module with the potential to become a nice landing page for hubzilla. It is nothing more than a downgraded mod display atm.
Diffstat (limited to 'view')
-rw-r--r-- | view/css/mod_hq.css | 3 | ||||
-rw-r--r-- | view/pdl/mod_hq.pdl | 3 | ||||
-rw-r--r-- | view/tpl/notifications_widget.tpl | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/view/css/mod_hq.css b/view/css/mod_hq.css new file mode 100644 index 000000000..dde242d4e --- /dev/null +++ b/view/css/mod_hq.css @@ -0,0 +1,3 @@ +#jot-popup { + display: none; +} diff --git a/view/pdl/mod_hq.pdl b/view/pdl/mod_hq.pdl new file mode 100644 index 000000000..e657fa88b --- /dev/null +++ b/view/pdl/mod_hq.pdl @@ -0,0 +1,3 @@ +[region=right_aside] +[widget=notifications][/widget] +[/region] diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 3ef7bff7d..ce64671d2 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -15,7 +15,7 @@ }); }); - {{if $module == 'display'}} + {{if $module == 'display' || $module == 'hq'}} $(document).on('click', '.notification', function(e) { var b64mid = $(this).data('b64mid'); var path = $(this)[0].pathname.substr(1,7); |