From c325253386f1a16c1f48ce2008234ebf642c9291 Mon Sep 17 00:00:00 2001 From: Juan Leyva Date: Fri, 26 Dec 2014 10:15:39 +0100 Subject: [PATCH] MOBILE-783 messages: Recent messages styling --- plugins/messages/contacts.html | 1 - plugins/messages/recent.html | 12 ++++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/plugins/messages/contacts.html b/plugins/messages/contacts.html index db728edfd..00d8d88f1 100644 --- a/plugins/messages/contacts.html +++ b/plugins/messages/contacts.html @@ -17,7 +17,6 @@ <% var types = ["online", "offline", "strangers"]; %> <% var displayed = []; %> <% types.forEach(function(type) { %> - <% if (!contacts[type].length) return; %>

<% if (type == "online") { %> <%= MM.lang.s("onlinecontacts", "core", contacts[type].length) %> diff --git a/plugins/messages/recent.html b/plugins/messages/recent.html index 5a4d44142..e588fd80b 100644 --- a/plugins/messages/recent.html +++ b/plugins/messages/recent.html @@ -2,8 +2,8 @@
+ <% if (messages.length > 0) {%>
- <% if (messages.length > 0) {%> - <% } else { %> -

<%= MM.lang.s("nomessagesfound") %>

- <% } %>
+ <% } else { %> +
+
+

<%= MM.lang.s("nomessagesfound") %>

+
+
+ <% } %>