Use icons in content interaction buttons
authorMarcel Werk <burntime@woltlab.com>
Sun, 1 May 2022 09:21:27 +0000 (11:21 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 1 May 2022 09:21:27 +0000 (11:21 +0200)
templates/conversation.tpl
templates/conversationList.tpl

index 7763c4a6b924b45b8f9274e93faa4c41a123875e..2af771654febb57a69a0efe521cd29d9ffc59dca 100644 (file)
@@ -63,7 +63,7 @@
 
 {capture assign='contentInteractionButtons'}
        <div class="conversation jsConversationInlineEditorContainer contentInteractionButton" data-conversation-id="{@$conversation->conversationID}" data-label-ids="[ {implode from=$conversation->getAssignedLabels() item=label}{@$label->labelID}{/implode} ]" data-is-closed="{@$conversation->isClosed}" data-can-close-conversation="{if $conversation->userID == $__wcf->getUser()->userID}1{else}0{/if}" data-can-add-participants="{if $conversation->canAddParticipants()}1{else}0{/if}" data-is-draft="{if $conversation->isDraft}1{else}0{/if}">
-               <a href="{if $conversation->isDraft}{link controller='ConversationDraftEdit' id=$conversation->conversationID}{/link}{else}#{/if}" class="button small jsConversationInlineEditor">{lang}wcf.global.button.edit{/lang}</a>
+               <a href="{if $conversation->isDraft}{link controller='ConversationDraftEdit' id=$conversation->conversationID}{/link}{else}#{/if}" class="button small jsConversationInlineEditor"><span class="icon icon16 fa-pencil"></span> <span>{lang}wcf.global.button.edit{/lang}</span></a>
        </div>
 {/capture}
 
index d5c0d8aaff3e69ae8071271a6521e558545bf91d..18b3241046e27c79c1ea22cf7e680aba042c5267 100644 (file)
 {/capture}
 
 {capture assign='contentInteractionButtons'}
-       <a href="#" class="markAllAsReadButton contentInteractionButton button small jsOnly">{lang}wcf.global.button.markAllAsRead{/lang}</a>
+       <a href="#" class="markAllAsReadButton contentInteractionButton button small jsOnly"><span class="icon icon16 fa-check"></span> <span>{lang}wcf.global.button.markAllAsRead{/lang}</span></a>
 {/capture}
 
 {capture assign='contentInteractionDropdownItems'}