diff options
Diffstat (limited to 'core/src/OC/contactsmenu/contact.handlebars')
-rw-r--r-- | core/src/OC/contactsmenu/contact.handlebars | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/core/src/OC/contactsmenu/contact.handlebars b/core/src/OC/contactsmenu/contact.handlebars index e178469bd94..c8e9c2c497e 100644 --- a/core/src/OC/contactsmenu/contact.handlebars +++ b/core/src/OC/contactsmenu/contact.handlebars @@ -27,6 +27,15 @@ <div class="email-address">{{contact.emailAddresses}}</div> </a> {{/if}} +{{else if contact.topAction}} + <a class="body" href="{{contact.topAction.hyperlink}}"> + <div class="full-name">{{contact.fullName}}</div> + <div class="last-message">{{contact.lastMessage}}</div> + <div class="email-address">{{contact.emailAddresses}}</div> + </a> + <a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}"> + <img src="{{contact.topAction.icon}}" alt="{{contact.topAction.title}}"> + </a> {{else}} <div class="body"> <div class="full-name">{{contact.fullName}}</div> @@ -34,11 +43,6 @@ <div class="email-address">{{contact.emailAddresses}}</div> </div> {{/if}} -{{#if contact.topAction}} -<a class="top-action" href="{{contact.topAction.hyperlink}}" title="{{contact.topAction.title}}"> - <img src="{{contact.topAction.icon}}" alt="{{contact.topAction.title}}"> -</a> -{{/if}} {{#if contact.hasTwoActions}} <a class="second-action" href="{{contact.secondAction.hyperlink}}" title="{{contact.secondAction.title}}"> <img src="{{contact.secondAction.icon}}" alt="{{contact.secondAction.title}}"> |