From: Marcel Werk Date: Sun, 10 Jan 2016 13:46:04 +0000 (+0100) Subject: Conversation list overhaul X-Git-Tag: 3.0.0_Beta_1~149^2~10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba4a0151ec11d47142444d459bf6e12ea1a5401a;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Conversation list overhaul --- diff --git a/files/style/conversation.scss b/files/style/conversation.scss index 2e9036f..d4a21a1 100644 --- a/files/style/conversation.scss +++ b/files/style/conversation.scss @@ -78,6 +78,7 @@ float: right; } +/*@todo @media only screen and (max-width: 800px) { .conversationList { thead { @@ -104,4 +105,4 @@ display: none; } } -} \ No newline at end of file +}*/ \ No newline at end of file diff --git a/templates/conversationList.tpl b/templates/conversationList.tpl index 225cd4d..3da8c7a 100644 --- a/templates/conversationList.tpl +++ b/templates/conversationList.tpl @@ -133,7 +133,7 @@ @@ -142,44 +142,39 @@ {if !$items}

{lang}wcf.conversation.noConversations{/lang}

{else} -
-
-

{lang}wcf.conversation.conversations{/lang} {#$items}

-
- - - - - - - - - + - + + - - {foreach from=$objects item=conversation} - - - - - - - + {event name='columns'} - - {/foreach} - -
{lang}wcf.global.subject{/lang}{lang}wcf.conversation.replies{/lang}{lang}wcf.conversation.participants{/lang}{lang}wcf.conversation.lastPostTime{/lang}
+ {foreach from=$objects item=conversation} +
  • +
      +
    1. -
  • + +
  • {if $conversation->getUserProfile()->getAvatar()}
    -

    isNew()} title="{lang}wcf.conversation.markAsRead.doubleClick{/lang}"{/if}>{@$conversation->getUserProfile()->getAvatar()->getImageTag(32)}

    +

    isNew()} title="{lang}wcf.conversation.markAsRead.doubleClick{/lang}"{/if}>{@$conversation->getUserProfile()->getAvatar()->getImageTag(48)}

    {if $conversation->ownPosts && $conversation->userID != $__wcf->user->userID} {if $__wcf->getUserProfileHandler()->getAvatar()} - {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(16)} + {@$__wcf->getUserProfileHandler()->getAvatar()->getImageTag(24)} {/if} {/if}
    {/if} -
  • + +
  • {hascontent}
      {content} @@ -202,11 +197,9 @@
    -
  • {#$conversation->replies}{#$conversation->participants} + +
  • +
    +
    {lang}wcf.conversation.replies{/lang}
    +
    {@$conversation->replies|shortUnit}
    +
    +
    +
    {lang}wcf.conversation.participants{/lang}
    +
    {@$conversation->participants|shortUnit}
    +
    + +
    {@$conversation->replies|shortUnit}
    +
  • +
  • {if $conversation->replies != 0} -
  • + + + {/foreach} +
    {/if} @@ -251,7 +254,7 @@