From cec2f0d894b80f3affeb60cff2d4afa49a2019a8 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 29 Jul 2021 08:19:33 +0000 Subject: more work on bs5 --- view/tpl/chatroomlist.tpl | 2 +- view/tpl/notifications_widget.tpl | 75 ++++----------------------------------- view/tpl/photo_albums.tpl | 2 +- 3 files changed, 9 insertions(+), 70 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl index c7f2c2c6f..2825a3f9e 100644 --- a/view/tpl/chatroomlist.tpl +++ b/view/tpl/chatroomlist.tpl @@ -3,7 +3,7 @@ diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 19452dad7..b75d9f796 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -493,9 +493,9 @@ if(fcount < 1) $('.' + n[1] + '-button').fadeOut(); - var count = Number($(this).find('.badge-secondary').html()); + var count = Number($(this).find('.bg-secondary').html()); count--; - $(this).find('.badge-secondary').html(count); + $(this).find('.bg-secondary').html(count); if(count < 1) $(this).remove(); } @@ -518,21 +518,21 @@ } - - -
- - -
- {{foreach $notifications as $notification}} -
- - -
- {{/foreach}} -
diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index 9e77ba71e..e2edec687 100644 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -5,7 +5,7 @@ {{if $albums}} {{foreach $albums as $al}} {{if $al.shorttext}} - + {{/if}} {{/foreach}} {{/if}} -- cgit v1.2.3