aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
committergit-marijus <mario@mariovavti.com>2017-07-28 22:42:02 +0200
commitf9b342c87d4129c457244861b3b841cb9dfe139b (patch)
tree560803c195d165117d88d1cf941f27de396459bd /view/tpl
parent5f7b2e7c173a45bcd0bd3f09ad1a6fe71b6ae4fb (diff)
downloadvolse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.gz
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.tar.bz2
volse-hubzilla-f9b342c87d4129c457244861b3b841cb9dfe139b.zip
initial notifications support for new shared files and new (since initial site load) pubstream activity
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/nav.tpl16
-rwxr-xr-xview/tpl/settings.tpl4
-rw-r--r--view/tpl/sharedwithme.tpl2
3 files changed, 21 insertions, 1 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index b9abf4d48..3e0ae8d5c 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -166,6 +166,22 @@
<a class="nav-link" href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" id="{{$nav.alogout.4}}">{{$nav.alogout.1}}</a>
</li>
{{/if}}
+ {{if $nav.files}}
+ <li class="nav-item dropdown files-button" style="display: none;">
+ <a class="nav-link" href="{{$nav.files.0}}" title="{{$nav.files.3}}" id="{{$nav.files.4}}" rel="#nav-files-menu">
+ <i class="fa fa-fw fa-folder"></i>
+ <span class="badge badge-pill badge-primary files-update"></span>
+ </a>
+ </li>
+ {{/if}}
+ {{if $nav.pubs}}
+ <li class="nav-item dropdown pubs-button" style="display: none;">
+ <a class="nav-link" href="{{$nav.pubs.0}}" title="{{$nav.pubs.3}}" id="{{$nav.pubs.4}}" rel="#nav-pubs-menu">
+ <i class="fa fa-fw fa-globe"></i>
+ <span class="badge badge-pill badge-primary pubs-update"></span>
+ </a>
+ </li>
+ {{/if}}
</ul>
<div id="banner" class="navbar-text d-none d-md-flex">{{$banner}}</div>
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index 6673e5815..3a8e31107 100755
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -137,6 +137,10 @@
{{include file="field_intcheckbox.tpl" field=$vnotify8}}
{{include file="field_intcheckbox.tpl" field=$vnotify9}}
{{include file="field_intcheckbox.tpl" field=$vnotify11}}
+ {{include file="field_intcheckbox.tpl" field=$vnotify12}}
+ {{if $vnotify13}}
+ {{include file="field_intcheckbox.tpl" field=$vnotify13}}
+ {{/if}}
{{include file="field_intcheckbox.tpl" field=$always_show_in_notices}}
{{include file="field_input.tpl" field=$evdays}}
</div>
diff --git a/view/tpl/sharedwithme.tpl b/view/tpl/sharedwithme.tpl
index 68bdd6faa..8474ccd52 100644
--- a/view/tpl/sharedwithme.tpl
+++ b/view/tpl/sharedwithme.tpl
@@ -15,7 +15,7 @@
{{foreach $items as $item}}
<tr id="cloud-index-{{$item.id}}">
<td><i class="fa {{$item.objfiletypeclass}}" title="{{$item.objfiletype}}"></i></td>
- <td><a href="{{$item.objurl}}">{{$item.objfilename}}</a>{{if $item.unseen}}&nbsp;<span class="label label-success">{{$label_new}}</span>{{/if}}</td>
+ <td><a href="{{$item.objurl}}">{{$item.objfilename}}</a>{{if $item.unseen}}&nbsp;<span class="badge badge-pill badge-success">{{$label_new}}</span>{{/if}}</td>
<td class="cloud-index-tool"><a href="#" title="{{$drop}}" onclick="dropItem('/sharedwithme/{{$item.id}}/drop', '#cloud-index-{{$item.id}}'); return false;"><i class="fa fa-trash-o drop-icons"></i></a></td>
<td class="d-none d-md-table-cell">{{$item.objfilesize}}</td>
<td class="d-none d-md-table-cell">{{$item.objedited}}</td>