Hide avatar on deleted posts for staff

Hide avatar on deleted posts for staff 13.37

No permission to download
Short Description
viewing and enlarging the page especially since I've increased my default avatar sizing
I didn't like how the avatars on deleted posts were viewing and enlarging the page especially since I've increased my default avatar sizing. By editing the following, you can hide the avatar and reduce the page scrolling size making it easier to manage.

Edit template: post_macros
Code:
 <div class="message-cell message-cell--user">
                    <xf:macro template="message_macros" name="user_info_simple" arg-user="{$post.User}" arg-fallbackName="{$post.username}" arg-includeMicrodata="{$includeMicrodata}" arg-itemProp="author" />
                </div>
Replace


Code:
<xf:if is="!$post.message_state == 'deleted'">
                <div class="message-cell message-cell--user">
                    <xf:macro template="message_macros" name="user_info_simple" arg-user="{$post.User}" arg-fallbackName="{$post.username}" arg-includeMicrodata="{$includeMicrodata}" arg-itemProp="author" />
                </div>
            </xf:if>


BEFORE:
RZ_BEFORE.webp


AFTER:
RZ_BEFORE.webp
Author
anne51
Views
231
Extension type
rar
File size
487 bytes
First release
Last update
Ratings 0.00 star(s) 0 ratings
Link was Broken? Please Send Message to NP Team with direct message, You will get it very quickly!
Support Developer If you are satisfied with your test or project have earn money successfully, Maybe you can click more information button to support with buying.

More resources from anne51

TableTrack - The Complete SaaS Restaurant Management Solution A
tailored to meet the unique branding and operational needs of any dining establishment.
Off POS - Retail POS and Stock Software A
Revolutionize your retail operations with Off POS, the ultimate Retail POS and Stock Software.

Similar resources

Top