diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-18 22:01:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-18 22:01:46 +0100 |
commit | 2bdf63d069954dcdcd211f519bdc7a1d8fee1295 (patch) | |
tree | a8203d805fda6871a25125cd65f0d2b7f200ce36 /view | |
parent | b897fd8315415245729e37c9f7cd61ad6571282a (diff) | |
download | volse-hubzilla-2bdf63d069954dcdcd211f519bdc7a1d8fee1295.tar.gz volse-hubzilla-2bdf63d069954dcdcd211f519bdc7a1d8fee1295.tar.bz2 volse-hubzilla-2bdf63d069954dcdcd211f519bdc7a1d8fee1295.zip |
more abook_edit and some css
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 2 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 2 | ||||
-rwxr-xr-x | 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}} <div class="btn-group"> <a href="connedit/{{$abook_prev}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-outline-secondary btn-sm{{if ! $abook_prev}} disabled{{/if}}" ><i class="fa fa-backward"></i></a> - <button class="btn btn-outline-secondary btn-sm{{if $is_pending}} disabled{{/if}}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bars"></i></button> - <a href="connedit/{{$abook_next}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-outline-secondary btn-sm{{if ! $abook_next}} disabled{{/if}}" ><i class="fa fa-forward"></i></a> - <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel"> - {{foreach $sections as $s}} - <a class="dropdown-item" href="{{$s.url}}" title="{{$s.title}}">{{$s.label}}</a> - {{/foreach}} + <div class="btn-group" > + <button class="btn btn-outline-secondary btn-sm{{if $is_pending}} disabled{{/if}}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-bars"></i></button> + <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dLabel"> + {{foreach $sections as $s}} + <a class="dropdown-item" href="{{$s.url}}" title="{{$s.title}}">{{$s.label}}</a> + {{/foreach}} + </div> </div> + <a href="connedit/{{$abook_next}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-outline-secondary btn-sm{{if ! $abook_next}} disabled{{/if}}" ><i class="fa fa-forward"></i></a> </div> {{/if}} </div> |