Interactive dropdown overhaul
authorMarcel Werk <burntime@woltlab.com>
Sun, 24 Jan 2016 11:43:41 +0000 (12:43 +0100)
committerMarcel Werk <burntime@woltlab.com>
Sun, 24 Jan 2016 11:43:41 +0000 (12:43 +0100)
templates/__userPanelConversationDropdown.tpl
templates/conversationListUserPanel.tpl

index eb7c5edfa8408b800aebdde3d64fc9dc335b745d..bd78be12332d8008364214d0e7d2e8378c3905ba 100644 (file)
@@ -1,6 +1,6 @@
 {if MODULE_CONVERSATION && $__wcf->user->userID && $__wcf->session->getPermission('user.conversation.canUseConversation')}
        <li id="unreadConversations" data-count="{#$__wcf->getConversationHandler()->getUnreadConversationCount()}">
-               <a href="{link controller='ConversationList'}{/link}"><span class="icon icon32 fa-comments"></span> <span>{lang}wcf.conversation.conversations{/lang}</span> {if $__wcf->getConversationHandler()->getUnreadConversationCount()}<span class="badge badgeUpdate">{#$__wcf->getConversationHandler()->getUnreadConversationCount()}</span>{/if}</a>
+               <a class="jsTooltip" href="{link controller='ConversationList'}{/link}" title="{lang}wcf.conversation.conversations{/lang}"><span class="icon icon32 fa-comments"></span> <span>{lang}wcf.conversation.conversations{/lang}</span> {if $__wcf->getConversationHandler()->getUnreadConversationCount()}<span class="badge badgeUpdate">{#$__wcf->getConversationHandler()->getUnreadConversationCount()}</span>{/if}</a>
                {if !OFFLINE || $__wcf->session->getPermission('admin.general.canViewPageDuringOfflineMode')}
                        <script data-relocate="true" src="{@$__wcf->getPath()}js/WCF.Conversation{if !ENABLE_DEBUG_MODE}.min{/if}.js?v={@LAST_UPDATE_TIME}"></script>
                        <script data-relocate="true">
index 5d9b1158f8aa239117a2270a241e00919750ad2a..d7b0821738d8307ba3ae11754b6488f711502af9 100644 (file)
@@ -1,17 +1,17 @@
 {foreach from=$conversations item=conversation}
        <li class="conversationItem{if $conversation->lastVisitTime < $conversation->lastPostTime} conversationItemUnread interactiveDropdownItemOutstanding{/if}" data-link="{link controller='Conversation' object=$conversation}action=firstNew{/link}" data-object-id="{@$conversation->conversationID}" data-is-read="{if $conversation->lastVisitTime < $conversation->lastPostTime}false{else}true{/if}">
-               <div class="box32">
-                       <div class="framed">
+               <div class="box48">
+                       <div>
                                {if $conversation->lastPosterID}
-                                       {@$conversation->getLastPosterProfile()->getAvatar()->getImageTag(32)}
+                                       {@$conversation->getLastPosterProfile()->getAvatar()->getImageTag(48)}
                                {else}
-                                       {@$conversation->getUserProfile()->getAvatar()->getImageTag(32)}
+                                       {@$conversation->getUserProfile()->getAvatar()->getImageTag(48)}
                                {/if}
                        </div>
                        <div>
                                <h3><a href="{link controller='Conversation' object=$conversation}action=firstNew{/link}">{$conversation->subject}</a></h3>
-                               <small>{if $conversation->lastPosterID}<a href="{link controller='User' id=$conversation->lastPosterID title=$conversation->lastPoster}{/link}">{$conversation->lastPoster}</a>{else}{$conversation->username}{/if} - {@$conversation->lastPostTime|time}</small>
+                               <small>{if $conversation->lastPosterID}<a href="{link controller='User' id=$conversation->lastPosterID title=$conversation->lastPoster}{/link}">{$conversation->lastPoster}</a>{else}{$conversation->username}{/if} <span class="separatorLeft">{@$conversation->lastPostTime|time}</span></small>
                        </div>
                </div>
        </li>
-{/foreach}
\ No newline at end of file
+{/foreach}