user/status component

main
Barış Soner Uşaklı 10 years ago
parent b5bbc5d995
commit 2e9b245c34

@ -14,7 +14,7 @@
<div>
<div class="text-center">
<span>
<i class="account-online-status fa fa-circle status {status}" title="[[global:{status}]]"></i>
<i component="user/status" class="fa fa-circle status {status}" title="[[global:{status}]]"></i>
<span class="account-username"> {username}</span>
</span>

@ -4,7 +4,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close hidden-xs" data-action="maximize"><span aria-hidden="true"><i class="fa fa-expand"></i></span><span class="sr-only">[[modules:chat.maximize]]</span></button>
<h4>[[modules:chat.chatting_with]] <i id="chat-user-status" class="fa fa-circle status offline" title="[[global:offline]]"></i></h4>
<h4>[[modules:chat.chatting_with]] <i component="user/status" class="fa fa-circle status offline" title="[[global:offline]]"></i></h4>
</div>
<div class="modal-body">
<span class="since-bar">

@ -39,7 +39,7 @@
<ul class="chats-list">
<!-- BEGIN contacts -->
<li data-username="{contacts.username}" data-uid="{contacts.uid}">
<i class="fa fa-circle status {contacts.status}"></i>
<i component="user/status" class="fa fa-circle status {contacts.status}"></i>
<img class="user-img" src="{contacts.picture}">
<span>{contacts.username}</span>
</li>
@ -55,7 +55,7 @@
<ul class="chats-list recent-chats" data-nextstart="{nextStart}">
<!-- BEGIN chats -->
<li data-username="{chats.username}" data-uid="{chats.uid}" class="<!-- IF chats.unread -->unread<!-- ENDIF chats.unread -->">
<i class="fa fa-circle status {chats.status}"></i>
<i component="user/status" class="fa fa-circle status {chats.status}"></i>
<img class="user-img" src="{chats.picture}">
<span>{chats.username}</span>
</li>

@ -9,9 +9,9 @@
</div>
<small class="pull-left">
<i class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
<i component="user/status" class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
<strong>
<a class="username-field" href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.username}</a>
<a href="<!-- IF posts.user.userslug -->{relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.username}</a>
</strong>
<!-- IMPORT partials/topic/badge.tpl -->

@ -4,7 +4,7 @@
<br/>
<div class="user-info">
<span>
<i class="fa fa-circle status {users.status}" title="[[global:{users.status}]]"></i>
<i component="user/status" class="fa fa-circle status {users.status}" title="[[global:{users.status}]]"></i>
<a href="{relative_path}/user/{users.userslug}">{users.username}</a>
</span>
<br/>

Loading…
Cancel
Save