mirror of
https://github.com/nerzhul/ocsms.git
synced 2025-06-07 07:56:23 +00:00
set the correct cursor on peer hover and try to fix contact photo when existing photo
This commit is contained in:
parent
7a4f37f585
commit
74c365f1f7
@ -27,6 +27,10 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#app-mailbox-peers li:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#app-mailbox-peers li:hover > a,
|
||||
#app-mailbox-peers li:hover,
|
||||
#app-mailbox-peers .selected,
|
||||
|
@ -10,7 +10,7 @@ use \OCA\OcSms\Lib\CountryCodes;
|
||||
<div id="app-mailbox-peers">
|
||||
<ul class="contact-list">
|
||||
<li ng-repeat="contact in contacts" peer-label="{{ contact.label }}" ng-click="loadConversation(contact);" href="#">
|
||||
<div class="ocsms-plavatar" style="background-image: url('{{ contact.avatar }}');" ng-show="contact.avatar !== undefined"></div>
|
||||
<img class="ocsms-plavatar" data-ng-src="data:image/png;base64,{{ contact.avatar }}" ng-show="contact.avatar !== undefined" />
|
||||
<div class="ocsms-plavatar" ng-show="contact.avatar === undefined" ng-style="{'background-color': (contact.label | peerColor)}">{{ contact.label | firstCharacter }}</div>
|
||||
<a class="ocsms-plname" style="{{ contact.unread > 0 ? 'font-weight:bold;' : ''}}" mailbox-label="{{ contact.label }}" mailbox-navigation="{{ contact.nav }}">{{ contact.label }}{{ contact.unread > 0 ? ' (' + contact.unread + ') ' : '' }}</a>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user