aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/chat.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-03 15:27:10 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-03 15:27:10 +0200
commit53311a30ad5399e6e981aaab11ffa13af926a3d2 (patch)
tree4b395ed4ecc52cc048590b06a775567e95859bae /view/tpl/chat.tpl
parent738e14348d4cb902b9fd490bd5d846f2f27bbe5f (diff)
downloadvolse-hubzilla-53311a30ad5399e6e981aaab11ffa13af926a3d2.tar.gz
volse-hubzilla-53311a30ad5399e6e981aaab11ffa13af926a3d2.tar.bz2
volse-hubzilla-53311a30ad5399e6e981aaab11ffa13af926a3d2.zip
reduce chat-item-title fontsize to match wall-item-ago
Diffstat (limited to 'view/tpl/chat.tpl')
-rw-r--r--view/tpl/chat.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl
index fbc00bf88..19b025820 100644
--- a/view/tpl/chat.tpl
+++ b/view/tpl/chat.tpl
@@ -165,11 +165,11 @@ function update_chats(chats) {
if(item.self) {
newNode.setAttribute('class', 'chat-item-self clear');
- $(newNode).html('<div class="chat-body-self"><div class="chat-item-title-self"><span class="chat-item-name-self">' + item.name + ' </span><span class="autotime chat-item-time-self" title="' + item.isotime + '">' + item.localtime + '</span></div><div class="chat-item-text-self">' + item.text + '</div></div><img class="chat-item-photo-self" src="' + item.img + '" alt="' + item.name + '" />');
+ $(newNode).html('<div class="chat-body-self"><div class="chat-item-title-self wall-item-ago"><span class="chat-item-name-self">' + item.name + ' </span><span class="autotime chat-item-time-self" title="' + item.isotime + '">' + item.localtime + '</span></div><div class="chat-item-text-self">' + item.text + '</div></div><img class="chat-item-photo-self" src="' + item.img + '" alt="' + item.name + '" />');
}
else {
newNode.setAttribute('class', 'chat-item clear');
- $(newNode).html('<img class="chat-item-photo" src="' + item.img + '" alt="' + item.name + '" /><div class="chat-body"><div class="chat-item-title"><span class="chat-item-name">' + item.name + ' </span><span class="autotime chat-item-time" title="' + item.isotime + '">' + item.localtime + '</span></div><div class="chat-item-text">' + item.text + '</div></div>');
+ $(newNode).html('<img class="chat-item-photo" src="' + item.img + '" alt="' + item.name + '" /><div class="chat-body"><div class="chat-item-title wall-item-ago"><span class="chat-item-name">' + item.name + ' </span><span class="autotime chat-item-time" title="' + item.isotime + '">' + item.localtime + '</span></div><div class="chat-item-text">' + item.text + '</div></div>');
}
$('#chatLineHolder').append(newNode);
$(".autotime").timeago();