From d849307725409b0ccc8ccff17100dac3a527a994 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 3 Sep 2020 10:45:57 -0400 Subject: [PATCH] [frio] Move reshare info on top of posts in network page - Increase consistency with other social media platforms display --- view/theme/frio/css/style.css | 16 +- view/theme/frio/templates/wall_thread.tpl | 220 +++++++++++----------- 2 files changed, 119 insertions(+), 117 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 3f87f01703..9ef8c634ed 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1499,14 +1499,14 @@ aside .panel-body { } /* wall items action dropdown menu */ +.media [role=heading] { + position: relative; +} + .preferences { position: absolute; - right: 15px; - top: 10px; -} -.comment .preferences { - right: 10px; - top: 5px; + right: 0; + top: 0; } .wall-item-network { font-size: 13px; @@ -3413,10 +3413,6 @@ section .profile-match-wrapper { margin-top: 0; } - .preferences { - right: 10px; - } - .generic-page-wrapper, .videos-content-wrapper, .suggest-content-wrapper, .help-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper, .directory-content-wrapper, .delegation-content-wrapper, .notes-content-wrapper, .message-content-wrapper, .apps-content-wrapper, #adminpage, .delegate-content-wrapper, .uexport-content-wrapper, .dfrn_request-content-wrapper, .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper, .profperm-content-wrapper, .invite-content-wrapper, .tos-content-wrapper, .fsuggest-content-wrapper { border-radius: 0; padding: 10px; diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 68d4b293f1..6e8e013dcc 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -81,6 +81,9 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}}
+ {{if $item.responses.announce && $mode != 'display'}} +
{{$item.responses.announce.output nofilter}}
+ {{/if}} {{* The avatar picture and the photo-menu *}} + {{if $item.thread_level!=1}} +
{{*this is the media body for comments - this div must be closed at the end of the file *}} + {{/if}} - {{* contact info header*}} - {{if $item.thread_level==1}} -