move slideout and chat menus to partials
parent
06a19b425c
commit
d4b20749d6
@ -0,0 +1,11 @@
|
||||
<!-- IF config.loggedIn -->
|
||||
<section class="menu-section" data-section="chats">
|
||||
<h3 class="menu-section-title">
|
||||
[[global:header.chats]]
|
||||
<i class="counter unread-count" component="chat/icon" data-content="{unreadCount.chat}"></i>
|
||||
</h3>
|
||||
<ul class="menu-section-list chat-list" component="chat/list">
|
||||
<a class="navigation-link" href="{relative_path}/user/{user.userslug}/chats">[[modules:chat.see_all]]</a>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ENDIF config.loggedIn -->
|
@ -0,0 +1,31 @@
|
||||
<div class="menu-profile">
|
||||
<!-- IF user.uid -->
|
||||
<!-- IF user.picture -->
|
||||
<img src="{user.picture}"/>
|
||||
<!-- ELSE -->
|
||||
<div class="user-icon" style="background-color: {user.icon:bgColor};">{user.icon:text}</div>
|
||||
<!-- ENDIF user.picture -->
|
||||
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i>
|
||||
<!-- ENDIF user.uid -->
|
||||
</div>
|
||||
|
||||
<section class="menu-section" data-section="navigation">
|
||||
<h3 class="menu-section-title">[[global:header.navigation]]</h3>
|
||||
<ul class="menu-section-list"></ul>
|
||||
</section>
|
||||
|
||||
<!-- IF config.loggedIn -->
|
||||
<section class="menu-section" data-section="profile">
|
||||
<h3 class="menu-section-title">[[global:header.profile]]</h3>
|
||||
<ul class="menu-section-list" component="header/usercontrol"></ul>
|
||||
</section>
|
||||
|
||||
<section class="menu-section" data-section="notifications">
|
||||
<h3 class="menu-section-title">
|
||||
[[global:header.notifications]]
|
||||
<span class="counter unread-count" component="notifications/icon" data-content="{unreadCount.notification}"></span>
|
||||
</h3>
|
||||
<ul class="menu-section-list notification-list-mobile" component="notifications/list"></ul>
|
||||
<p class="menu-section-list"><a href="{relative_path}/notifications">[[notifications:see_all]]</a></p>
|
||||
</section>
|
||||
<!-- ENDIF config.loggedIn -->
|
Loading…
Reference in New Issue