aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-28 17:07:25 -0800
committerfriendica <info@friendica.com>2014-01-28 17:07:25 -0800
commitcc11535e34f1cc91251d7ca3f38ef38997774857 (patch)
tree44aede36b0b0f1a08d608bf5be718d4b3f853107 /view
parent3dfd38021f193d16d3c6ed4824fa24e42a62238f (diff)
downloadvolse-hubzilla-cc11535e34f1cc91251d7ca3f38ef38997774857.tar.gz
volse-hubzilla-cc11535e34f1cc91251d7ca3f38ef38997774857.tar.bz2
volse-hubzilla-cc11535e34f1cc91251d7ca3f38ef38997774857.zip
online indication on profile sidebar
Diffstat (limited to 'view')
-rw-r--r--view/js/icon_translate.js1
-rw-r--r--view/theme/redbasic/css/style.css4
-rwxr-xr-xview/tpl/profile_vcard.tpl2
3 files changed, 6 insertions, 1 deletions
diff --git a/view/js/icon_translate.js b/view/js/icon_translate.js
index 9e69e0b7d..838ff899f 100644
--- a/view/js/icon_translate.js
+++ b/view/js/icon_translate.js
@@ -50,4 +50,5 @@ $(document).ready(function() {
$('.icon-check').addClass('');
$('.icon-globe').addClass('');
$('.icon-circle-blank').addClass('');
+ $('.icon-circle').addClass('');
}); \ No newline at end of file
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index b2f90cbc1..02832b5f0 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2445,4 +2445,8 @@ img.mail-list-sender-photo {
.abook-self {
background-color: #ffdddd;
+}
+.online-now {
+ color: red;
+ cursor: pointer;
} \ No newline at end of file
diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl
index aaee02ab5..7a857fd67 100755
--- a/view/tpl/profile_vcard.tpl
+++ b/view/tpl/profile_vcard.tpl
@@ -16,7 +16,7 @@
</div>
{{/if}}
- <div class="fn label">{{$profile.name}}</div>
+ <div class="fn label">{{$profile.name}}{{if $profile.online}} <i class="icon-asterisk online-now" title="{{$profile.online}}"></i>{{/if}}</div>
{{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
<div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>