Added message number
authorMarcel Werk <burntime@woltlab.com>
Tue, 17 Jun 2014 12:25:00 +0000 (14:25 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 17 Jun 2014 12:25:00 +0000 (14:25 +0200)
language/de.xml
language/en.xml
templates/conversationMessageList.tpl

index c45e1866277bffdf3692663d9921a384308c4b9d..75c60da661cbb7621fb6807895c6ba36f623077d 100644 (file)
                <item name="wcf.conversation.markAllAsRead"><![CDATA[Alle Konversationen als gelesen markieren]]></item>
                <item name="wcf.conversation.message.editNote"><![CDATA[{$message->username} hat diese Nachricht {#$message->editCount} mal editiert, zuletzt: {@$message->lastEditTime|time}.]]></item>
                <item name="wcf.conversation.noParticipantsWarning"><![CDATA[Sie sind dabei auf eine Konversation ohne weitere Teilnehmer zu antworten. Alle anderen Teilnehmer haben diese Konversation verlassen. Niemand wird Ihre Nachricht lesen!]]></item>
+               <item name="wcf.conversation.message.permalink"><![CDATA[Permalink zur {#$startIndex}. Nachricht]]></item>
        </category>
        
        <category name="wcf.conversation.edit">
index 6181987defee4f86f3538effb3d50947a1b00ca5..4aa0fb648782421cd486d6fa760776c3130b0c08 100644 (file)
                <item name="wcf.conversation.markAllAsRead"><![CDATA[Mark All Conversations Read]]></item>
                <item name="wcf.conversation.message.editNote"><![CDATA[TODO: {$message->username} hat diese Nachricht {#$message->editCount} mal editiert, zuletzt: {@$message->lastEditTime|time}.]]></item>
                <item name="wcf.conversation.noParticipantsWarning"><![CDATA[TODO: Sie sind dabei auf eine Konversation ohne weitere Teilnehmer zu antworten. Alle anderen Teilnehmer haben diese Konversation verlassen. Niemand wird Ihre Nachricht lesen!]]></item>
+               <item name="wcf.conversation.message.permalink"><![CDATA[TODO: Permalink zur {#$startIndex}. Nachricht]]></item>
        </category>
        
        <category name="wcf.conversation.edit">
index 0930fcf3d7603642b672d484763f8c76f636cebb..67151b1e852c7bd9d81918699246db33c7252b02 100644 (file)
                                <section class="messageContent">
                                        <div>
                                                <header class="messageHeader">
+                                                       <ul class="messageQuickOptions">
+                                                               <li><a href="{link controller='Conversation' object=$conversation}messageID={@$message->messageID}{/link}#message{@$message->messageID}" class="badge jsTooltip" title="{lang}wcf.conversation.message.permalink{/lang}">{#$startIndex}</a></li>
+                                                       </ul>
+                                                       
                                                        <div class="messageHeadline">
                                                                <p><a href="{link controller='Conversation' object=$conversation}messageID={@$message->messageID}{/link}#message{@$message->messageID}" class="permalink">{@$message->time|time}</a></p>
                                                        </div>
@@ -69,6 +73,8 @@
                        </div>
                </article>
        </li>
+       
+       {assign var="startIndex" value=$startIndex + 1}
 {/foreach}
 
 {assign var=__modificationLogTime value=TIME_NOW}