summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-01-26 16:52:11 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit9b1e2cfc5f0e9db1684e0bdc83ed39749cd78a93 (patch)
tree9270fc723ace6b1fed01785fa06380e52f2d0bf6 /templates
parentc469d3221ac6c7aff3f79d204dc32ff3572627be (diff)
(+) adding google & mail icons (urls remain unchanged)
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php10
-rw-r--r--templates/part.navigation.sharedfeed.php4
2 files changed, 12 insertions, 2 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index d3aaf0295..ecb9688df 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -143,6 +143,16 @@
>
<span> Twitter </span>
</a>
+ <a class="icon-google pr-5"
+ ng-href="https://google.com/{{ ::item.url }}"
+ >
+ <span> Google </span>
+ </a>
+ <a class="icon-mail pr-5"
+ ng-href="https://google.com/{{ ::item.url }}"
+ >
+ <span> Mail </span>
+ </a>
</div>
</div>
diff --git a/templates/part.navigation.sharedfeed.php b/templates/part.navigation.sharedfeed.php
index 36be0856a..ee4bb4fc3 100644
--- a/templates/part.navigation.sharedfeed.php
+++ b/templates/part.navigation.sharedfeed.php
@@ -1,5 +1,5 @@
<li ng-class="{
- active: Navigation.isShared(),
+ active: Navigation.isSharedActive(),
unread: Navigation.isSharedUnread()
}"
class="with-counter starred-feed">
@@ -11,7 +11,7 @@
<div class="app-navigation-entry-utils">
<ul>
<li class="app-navigation-entry-utils-counter"
- ng-show="Navigation.isStarredUnread()"
+ ng-show="Navigation.isSharedUnread()"
title="{{ Navigation.getStarredCount() }}">
{{ Navigation.getStarredCount() | unreadCountFormatter }}
</li>