From 2bdf63d069954dcdcd211f519bdc7a1d8fee1295 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 18 Mar 2017 22:01:46 +0100 Subject: [PATCH] more abook_edit and some css --- view/js/main.js | 2 ++ view/theme/redbasic/css/style.css | 2 ++ view/tpl/abook_edit.tpl | 14 ++++++++------ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/view/js/main.js b/view/js/main.js index 5e3a04abb..150f517a9 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -939,6 +939,8 @@ function notify_popup_loader(notifyType) { window.location.href=window.location.href; } + console.log(data); + if(data.notify.length == 0){ $("#nav-" + notifyType + "-menu").html(aStr[nothingnew]); } else { diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 5e579a213..56047cdb4 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -795,6 +795,8 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { .contactname { font-weight: bold; display: block; + overflow: hidden; + text-overflow: ellipsis; } .dropdown-notification, diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index cfe80403a..79a6f338f 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -24,13 +24,15 @@ {{if $abook_prev || $abook_next}}
- - - {{/if}}