aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-08 18:57:59 +0000
committerMario <mario@mariovavti.com>2022-01-08 18:57:59 +0000
commitfc02e018cbe99f17b5b290f36b7d3cdbfe9ff729 (patch)
treea4c6dc15f7433e84ceb468fe8b430ffcfc771771 /view
parentb14a530efb7aeb983f369535d56f62e32043ee39 (diff)
downloadvolse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.tar.gz
volse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.tar.bz2
volse-hubzilla-fc02e018cbe99f17b5b290f36b7d3cdbfe9ff729.zip
mark group actors as such in items and minor text change
Diffstat (limited to 'view')
-rw-r--r--view/css/conversation.css8
-rw-r--r--view/tpl/conv_item.tpl3
-rw-r--r--view/tpl/conv_list.tpl3
-rw-r--r--view/tpl/search_item.tpl3
4 files changed, 17 insertions, 0 deletions
diff --git a/view/css/conversation.css b/view/css/conversation.css
index 88081c2c6..14adc8df0 100644
--- a/view/css/conversation.css
+++ b/view/css/conversation.css
@@ -115,6 +115,14 @@
position: relative;
}
+.wall-item-photo-group-actor {
+ position: absolute;
+ right: 3px;
+ top: 0px;
+ color: #fff;
+ text-shadow: 1px 1px 3px rgba(0, 0, 0, .5);
+}
+
.wall-item-photo-caret {
position: absolute;
left: 3px;
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl
index 0a07319c8..e9d5e3c63 100644
--- a/view/tpl/conv_item.tpl
+++ b/view/tpl/conv_item.tpl
@@ -36,6 +36,9 @@
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" loading="lazy" data-bs-toggle="dropdown" />
+ {{if $item.author_is_group_actor}}
+ <i class="fa fa-comments-o wall-item-photo-group-actor" title="{{$item.author_is_group_actor}}"></i>
+ {{/if}}
{{if $item.thread_author_menu}}
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i>
<div class="dropdown-menu">
diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl
index b4071ba16..0463afdcb 100644
--- a/view/tpl/conv_list.tpl
+++ b/view/tpl/conv_list.tpl
@@ -30,6 +30,9 @@
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$item.id}}">
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" loading="lazy" /></a>
+ {{if $item.author_is_group_actor}}
+ <i class="fa fa-comments-o wall-item-photo-group-actor" title="{{$item.author_is_group_actor}}"></i>
+ {{/if}}
{{if $item.thread_author_menu}}
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i>
<div class="dropdown-menu">
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index f3d0a8d03..cb9ad57cc 100644
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -24,6 +24,9 @@
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}">
<img src="{{$item.thumb}}" class="fakelink wall-item-photo{{$item.sparkle}} u-photo p-name" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" data-bs-toggle="dropdown" loading="lazy" />
+ {{if $item.author_is_group_actor}}
+ <i class="fa fa-comments-o wall-item-photo-group-actor" title="{{$item.author_is_group_actor}}"></i>
+ {{/if}}
{{if $item.thread_author_menu}}
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i>
<div class="dropdown-menu">