From a94236483e26785dcaf97fb10e863f82348eb068 Mon Sep 17 00:00:00 2001 From: Julius Härtl Date: Tue, 11 May 2021 08:22:51 +0200 Subject: Let apps toggle an unread counter on app icons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Louis Chemineau Signed-off-by: Julius Härtl --- core/templates/layout.user.php | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'core/templates') diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 3a698550ead..693a14e4058 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -57,12 +57,18 @@ class="active" aria-label=""> - - - - - filter="url(#invertMenuMain-)" xlink:href="" class="app-icon"> + class="has-unread"> + + + + + + + + filter="url(#invertMenuMain-)" xlink:href="" style="mask: url("#hole");" class="app-icon"> + + @@ -87,11 +93,19 @@ class="active" aria-label=""> - - - + class="has-unread"> + + + + + + + + " class="app-icon"> + - + + -- cgit v1.2.3