From: Marcel Werk Date: Wed, 27 Apr 2022 16:27:56 +0000 (+0200) Subject: Added standalone button for "mark as read" X-Git-Tag: 5.5.0_Alpha_5~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7096c13972f712e8cbdf057187748b62240e6362;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.conversation.git Added standalone button for "mark as read" --- diff --git a/language/de.xml b/language/de.xml index d0950db..2a9bb68 100644 --- a/language/de.xml +++ b/language/de.xml @@ -129,7 +129,6 @@ participants - $participantSummaryCount == 1}ein weiterer{else}{#$conversation->participants-$participantSummaryCount} weitere{/if}]]> attachments == 1}einen Dateianhang{else}{#$conversation->attachments} Dateianhänge{/if}.]]> - username} hat diese Nachricht {#$message->editCount} Mal editiert, zuletzt: {@$message->lastEditTime|time}.]]> @@ -220,4 +219,7 @@ + + + diff --git a/language/en.xml b/language/en.xml index 2b28180..e562740 100644 --- a/language/en.xml +++ b/language/en.xml @@ -129,7 +129,6 @@ participants - $participantSummaryCount == 1}one other{else}{#$conversation->participants-$participantSummaryCount} others{/if}]]> attachments} attachment{if $conversation->attachments != 1}s{/if}]]> - username} edited this message {#$message->editCount} times, last: {@$message->lastEditTime|time}.]]> @@ -220,4 +219,7 @@ + + + diff --git a/templates/conversationList.tpl b/templates/conversationList.tpl index bba3754..f58c6a1 100644 --- a/templates/conversationList.tpl +++ b/templates/conversationList.tpl @@ -127,9 +127,12 @@ {pages print=true assign=pagesLinks controller='ConversationList' link="filter=$filter$participantsParameter&pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$labelIDParameter"} {/capture} +{capture assign='contentInteractionButtons'} + {lang}wcf.global.button.markAllAsRead{/lang} +{/capture} + {capture assign='contentInteractionDropdownItems'}
  • {lang}wcf.global.button.rss{/lang}
  • -
  • {lang}wcf.conversation.markAllAsRead{/lang}
  • {/capture} {include file='header'}