Added link to "likes" tab
authorMarcel Werk <burntime@woltlab.com>
Mon, 25 Aug 2014 17:43:56 +0000 (19:43 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 25 Aug 2014 17:43:56 +0000 (19:43 +0200)
com.woltlab.wcf/templates/messageSidebar.tpl
com.woltlab.wcf/templates/userInformationStatistics.tpl
com.woltlab.wcf/templates/userSidebar.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 5bd409de140c5fbb64f90ca4d0d2fccd3ed454e0..ba5237073e001c743a15b8683e7b7d31ed5d3f7e 100644 (file)
@@ -71,7 +71,7 @@
                                        <dl class="plain dataList">
                                                {content}
                                                        {if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived}
-                                                               <dt>{lang}wcf.like.likesReceived{/lang}</dt>
+                                                               <dt><a href="{link controller='User' object=$userProfile}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                                                                <dd>{#$userProfile->likesReceived}</dd>
                                                        {/if}
                                                        
index 7a229543280f6d3781efd366e2226fed4df172b8..1437fdd0b35af47e8f56f64bbaa1c3ed45fd9730 100644 (file)
@@ -2,7 +2,7 @@
        {event name='statistics'}
        
        {if MODULE_LIKE && $user->likesReceived}
-               <dt>{lang}wcf.like.likesReceived{/lang}</dt>
+               <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                <dd>{#$user->likesReceived}</dd>
        {/if}
        
index c5d01c3b02ddef92f78c66f838e0ed6fcbd96422..111690c518842cc49b17bd9b9ea3c407c018061b 100644 (file)
@@ -19,7 +19,7 @@
                                {event name='statistics'}
                                
                                {if MODULE_LIKE && $user->likesReceived}
-                                       <dt>{lang}wcf.like.likesReceived{/lang}</dt>
+                                       <dt><a href="{link controller='User' object=$user}{/link}#likes" class="jsTooltip" title="{lang}wcf.like.likesReceived.showDetails{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
                                        <dd>{#$user->likesReceived}</dd>
                                {/if}
                                
index 0ecff6ca53c86f000ed6f7a83ac69dcb38f29462..ac3b4fd44fee15789909c2634b899dd04d33283c 100644 (file)
@@ -2154,6 +2154,7 @@ Fehler sind beispielsweise:
                <item name="wcf.like.button.like"><![CDATA[Gefällt mir]]></item>
                <item name="wcf.like.button.dislike"><![CDATA[Gefällt mir nicht]]></item>
                <item name="wcf.like.likesReceived"><![CDATA[Erhaltene Likes]]></item>
+               <item name="wcf.like.likesReceived.showDetails"><![CDATA[Erhaltene Likes anzeigen]]></item>
                <item name="wcf.like.likesGiven"><![CDATA[Vergebene Likes]]></item>
                <item name="wcf.like.summary"><![CDATA[{literal}{if $others == 0}{@$users.slice(0, -1).join(", ")}{if $users.length > 1} und {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} und {if $others == 1}einem{else}{#$others}{/if} weiteren{/if} gefällt das.{/literal}]]></item>
                <item name="wcf.like.details"><![CDATA[Details]]></item>
index 95e91ebfdfd972a8b0122a38ec8c2b88133350cd..9d12a3067c120149c450b61d705428abad15fde6 100644 (file)
@@ -2152,6 +2152,7 @@ Errors are:
                <item name="wcf.like.button.like"><![CDATA[Like]]></item>
                <item name="wcf.like.button.dislike"><![CDATA[Dislike]]></item>
                <item name="wcf.like.likesReceived"><![CDATA[Likes Received]]></item>
+               <item name="wcf.like.likesReceived.showDetails"><![CDATA[Show Likes Received]]></item>
                <item name="wcf.like.likesGiven"><![CDATA[Likes Given]]></item>
                <item name="wcf.like.summary"><![CDATA[{literal}{if $others == 0}{@$users.slice(0, -1).join(", ")}{if $users.length > 1} and {/if}{@$users.slice(-1)[0]}{else}{@$users.join(", ")} and {if $others == 1}one{else}{#$others}{/if} other{if $others > 1}s{/if}{/if} like{if $users.length == 1}s{/if} this.{/literal}]]></item>
                <item name="wcf.like.details"><![CDATA[Details]]></item>