mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
restructure wall-item-head
This commit is contained in:
@@ -100,12 +100,6 @@
|
||||
border-top: 0.2rem solid var(--bs-blue);
|
||||
}
|
||||
|
||||
.wall-item-info {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: .75rem;
|
||||
}
|
||||
|
||||
.wall-item-wrapper {
|
||||
margin-left: .75rem;
|
||||
}
|
||||
@@ -147,18 +141,6 @@ a.wall-item-name-link {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.wall-item-author {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.wall-item-ago,
|
||||
.wall-item-ago i {
|
||||
font-size: 0.75rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.wall-item-ago .fa-check {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -1234,7 +1234,7 @@ function doscroll(parent, hidden) {
|
||||
});
|
||||
|
||||
$('html, body').animate({scrollTop:(id.offset().top) - 50}, 'slow');
|
||||
$('<a href="javascript:doscrollback(' + pos + ');" id="back-to-reply" class="float-end" title="' + aStr['to_reply'] + '"><i class="fa fa-angle-double-down"> </i></a>').insertBefore('#wall-item-info-' + id.attr('id').replace(/\D/g,''));
|
||||
$('<a href="javascript:doscrollback(' + pos + ');" id="back-to-reply" title="' + aStr['to_reply'] + '"><i class="fa fa-angle-double-down"></i></a>').insertAfter('#wall-item-ago-' + id.attr('id').replace(/\D/g,''));
|
||||
}
|
||||
|
||||
function doscrollback(pos) {
|
||||
@@ -1259,7 +1259,7 @@ function dopin(id) {
|
||||
$('.dropdown-item-pinnable').html($('.dropdown-item-pinnable').html().replace(aStr['unpin_item'],aStr['pin_item']));
|
||||
$('.wall-item-pinned').remove()
|
||||
if(i.length == 0) {
|
||||
$('<span class="float-end wall-item-pinned" title="' + aStr['pinned'] + '" id="wall-item-pinned-' + id + '"><i class="fa fa-thumb-tack"> </i></span>').insertBefore('#wall-item-info-' + id);
|
||||
$('<span class="wall-item-pinned" title="' + aStr['pinned'] + '" id="wall-item-pinned-' + id + '"><i class="fa fa-thumb-tack"> </i></span>').insertBefore('#wall-item-info-' + id);
|
||||
me.html(me.html().replace(aStr['pin_item'],aStr['unpin_item']));
|
||||
};
|
||||
})
|
||||
|
||||
@@ -1017,12 +1017,6 @@ img.mail-conv-sender-photo {
|
||||
|
||||
|
||||
/* conversation */
|
||||
|
||||
.top-radius {
|
||||
border-top-right-radius: var(--bs-border-radius);
|
||||
border-top-left-radius: var(--bs-border-radius);
|
||||
}
|
||||
|
||||
.wall-event-item {
|
||||
padding: 10px;
|
||||
color: #fff;
|
||||
@@ -1094,11 +1088,6 @@ img.mail-conv-sender-photo {
|
||||
height: $reply_photo;
|
||||
}
|
||||
|
||||
.wall-item-ago,
|
||||
.dropdown-sub-text {
|
||||
color: var(--bs-tertiary-color);
|
||||
}
|
||||
|
||||
.wall-item-content,
|
||||
.mail-conv-body,
|
||||
.page-body,
|
||||
@@ -1107,7 +1096,6 @@ img.mail-conv-sender-photo {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
|
||||
.comment-edit-text {
|
||||
border: 1px solid var(--bs-border-color);
|
||||
border-radius: var(--bs-border-radius);
|
||||
|
||||
@@ -26,14 +26,8 @@
|
||||
<hr class="m-0">
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div class="p-2 clearfix wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
|
||||
{{if $item.thr_parent}}
|
||||
<a href="javascript:doscroll('{{$item.thr_parent}}',{{$item.parent}});" title="{{$item.top_hint}}" class="float-end"><i class="fa fa-angle-double-up"> </i></a>
|
||||
{{/if}}
|
||||
{{if $item.pinned}}
|
||||
<span class="float-end wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"> </i></span>
|
||||
{{/if}}
|
||||
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
|
||||
<div class="p-2 lh-sm d-flex wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
|
||||
<div class="wall-item-info pe-2" 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}}">
|
||||
{{if $item.contact_id}}
|
||||
<div class="spinner-wrapper contact-edit-rotator contact-edit-rotator-{{$item.contact_id}}"><div class="spinner s"></div></div>
|
||||
@@ -52,18 +46,41 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div id="panel-{{$item.id}}" class="dropdown-menu"></div>
|
||||
<div class="wall-item-author text-truncate">
|
||||
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span>{{/if}}
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div id="panel-{{$item.id}}" class="dropdown-menu"></div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<a href="{{$item.profile_url}}" class="wall-item-name-link u-url"{{if $item.app}} title="{{$item.str_app}}"{{/if}}><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}<br>
|
||||
<small class="wall-item-addr opacity-75">{{$item.linktitle}}</small>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="wall-item-author">
|
||||
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span> {{/if}}
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link u-url"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}
|
||||
</div>
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.verified}}<i class="fa fa-check item-verified" title="{{$item.verified}}"></i> {{elseif $item.forged}}<i class="fa fa-exclamation item-forged" title="{{$item.forged}}"></i> {{/if}}{{if $item.location}}<span class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}, </span>{{/if}}<span class="autotime" title="{{$item.isotime}}"><time class="dt-published" datetime="{{$item.isotime}}">{{$item.localtime}}</time>{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</span> {{if $item.delayed}}<i class="fa fa-clock-o"></i>{{/if}}{{if $item.editedtime}} <i class="fa fa-pencil"></i>{{/if}} {{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}
|
||||
<div class="text-end ms-auto">
|
||||
<div class="wall-item-ago text-nowrap opacity-75" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.editedtime}}
|
||||
<i class="fa fa-pencil"></i>
|
||||
{{/if}}
|
||||
{{if $item.delayed}}
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{/if}}
|
||||
{{if $item.location}}
|
||||
<small class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</small>
|
||||
{{/if}}
|
||||
{{if $item.verified}}
|
||||
<i class="fa fa-check text-success" title="{{$item.verified}}"></i>
|
||||
{{elseif $item.forged}}
|
||||
<i class="fa fa-exclamation text-danger" title="{{$item.forged}}"></i>
|
||||
{{/if}}
|
||||
<small class="autotime" title="{{$item.isotime}}"><time class="dt-published" datetime="{{$item.isotime}}">{{$item.localtime}}</time>{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</small>
|
||||
</div>
|
||||
{{if $item.thr_parent}}
|
||||
<a href="javascript:doscroll('{{$item.thr_parent}}',{{$item.parent}});" class="ms-3" title="{{$item.top_hint}}"><i class="fa fa-angle-double-up"></i></a>
|
||||
{{/if}}
|
||||
{{if $item.pinned}}
|
||||
<div class="wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"></i></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{if $item.divider}}
|
||||
|
||||
@@ -26,13 +26,13 @@
|
||||
<hr class="m-0">
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div class="p-2 clearfix wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}">
|
||||
<div class="wall-item-info" id="wall-item-info-{{$item.id}}" >
|
||||
<div class="p-2 lh-sm d-flex wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
|
||||
<div class="wall-item-info pe-2" 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}}">
|
||||
{{if $item.contact_id}}
|
||||
<div class="spinner-wrapper contact-edit-rotator contact-edit-rotator-{{$item.contact_id}}"><div class="spinner s"></div></div>
|
||||
{{/if}}
|
||||
<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>
|
||||
<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}}
|
||||
@@ -40,27 +40,52 @@
|
||||
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i>
|
||||
<div class="dropdown-menu">
|
||||
{{foreach $item.thread_author_menu as $mitem}}
|
||||
<a class="dropdown-item" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a>
|
||||
<a class="dropdown-item{{if $mitem.class}} {{$mitem.class}}{{/if}}" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}}{{if $mitem.data}} {{$mitem.data}}{{/if}}>{{$mitem.title}}</a>
|
||||
{{/foreach}}
|
||||
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div id="panel-{{$item.id}}" class="dropdown-menu"></div>
|
||||
<div class="wall-item-author text-truncate">
|
||||
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span>{{/if}}
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div id="panel-{{$item.id}}" class="dropdown-menu"></div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<a href="{{$item.profile_url}}" class="wall-item-name-link u-url"{{if $item.app}} title="{{$item.str_app}}"{{/if}}><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}<br>
|
||||
<small class="wall-item-addr opacity-75">{{$item.linktitle}}</small>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="wall-item-author">
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link u-url"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}
|
||||
</div>
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.verified}}<i class="fa fa-check item-verified" title="{{$item.verified}}"></i> {{elseif $item.forged}}<i class="fa fa-exclamation item-forged" title="{{$item.forged}}"></i> {{/if}}{{if $item.location}}<span class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}, </span>{{/if}}<span class="autotime" title="{{$item.isotime}}"><time class="dt-published" datetime="{{$item.isotime}}">{{$item.localtime}}</time>{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</span>{{if $item.editedtime}} <i class="fa fa-pencil"></i>{{/if}} {{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}
|
||||
<div class="text-end ms-auto">
|
||||
<div class="wall-item-ago text-nowrap opacity-75" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.editedtime}}
|
||||
<i class="fa fa-pencil"></i>
|
||||
{{/if}}
|
||||
{{if $item.delayed}}
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{/if}}
|
||||
{{if $item.location}}
|
||||
<small class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</small>
|
||||
{{/if}}
|
||||
{{if $item.verified}}
|
||||
<i class="fa fa-check text-success" title="{{$item.verified}}"></i>
|
||||
{{elseif $item.forged}}
|
||||
<i class="fa fa-exclamation text-danger" title="{{$item.forged}}"></i>
|
||||
{{/if}}
|
||||
<small class="autotime" title="{{$item.isotime}}"><time class="dt-published" datetime="{{$item.isotime}}">{{$item.localtime}}</time>{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</small>
|
||||
</div>
|
||||
{{if $item.thr_parent}}
|
||||
<a href="javascript:doscroll('{{$item.thr_parent}}',{{$item.parent}});" class="ms-3" title="{{$item.top_hint}}"><i class="fa fa-angle-double-up"></i></a>
|
||||
{{/if}}
|
||||
{{if $item.pinned}}
|
||||
<div class="wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"></i></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{if $item.divider}}
|
||||
<hr class="wall-item-divider">
|
||||
{{/if}}
|
||||
{{if $item.body}}
|
||||
<div class="p-2 wall-item-content clearfix" id="wall-item-content-{{$item.id}}">
|
||||
<div class="wall-item-body e-content" id="wall-item-body-{{$item.id}}" >
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<hr class="m-0">
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div class="p-2 clearfix wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}">
|
||||
<!--div class="p-2 clearfix wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}">
|
||||
<span class="float-end" title="{{$pinned}}"><i class="fa fa-thumb-tack"> </i></span>
|
||||
<div class="wall-item-info" id="pinned-item-info-{{$id}}" >
|
||||
<div class="wall-item-photo-wrapper{{if $owner_url}} wwfrom{{/if}} h-card p-author" id="pinned-item-photo-wrapper-{{$id}}">
|
||||
@@ -61,7 +61,49 @@
|
||||
<div class="wall-item-ago" id="pinned-item-ago-{{$id}}">
|
||||
{{if $verified}}<i class="fa fa-check item-verified" title="{{$verified}}"></i> {{elseif $forged}}<i class="fa fa-exclamation item-forged" title="{{$forged}}"></i> {{/if}}{{if $location}}<span class="wall-item-location p-location" id="pinned-item-location-{{$id}}">{{$location}}, </span>{{/if}}<span class="autotime" title="{{$isotime}}"><time class="dt-published" datetime="{{$isotime}}">{{$localtime}}</time>{{if $editedtime}} {{$editedtime}}{{/if}}{{if $expiretime}} {{$expiretime}}{{/if}}</span>{{if $editedtime}} <i class="fa fa-pencil"></i>{{/if}} {{if $app}}<span class="item.app">{{$str_app}}</span>{{/if}}
|
||||
</div>
|
||||
</div-->
|
||||
|
||||
<div class="p-2 lh-sm d-flex wall-item-head{{if !$title && !$event && !$photo}} rounded-top{{/if}}{{if $is_new && !$event}} wall-item-head-new{{/if}}" >
|
||||
<div class="wall-item-info pe-2" id="wall-item-info-{{$id}}" >
|
||||
<div class="wall-item-photo-wrapper{{if $owner_url}} wwfrom{{/if}} h-card p-author" id="wall-item-photo-wrapper-{{$id}}">
|
||||
<img src="{{$thumb}}" class="fakelink wall-item-photo{{$sparkle}} u-photo p-name" id="wall-item-photo-{{$id}}" alt="{{$name}}" loading="lazy" data-bs-toggle="dropdown" />
|
||||
{{if $thread_author_menu}}
|
||||
<i class="fa fa-caret-down wall-item-photo-caret cursor-pointer" data-bs-toggle="dropdown"></i>
|
||||
<div class="dropdown-menu">
|
||||
{{foreach $thread_author_menu as $mitem}}
|
||||
<a class="dropdown-item{{if $mitem.class}} {{$mitem.class}}{{/if}}" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}}{{if $mitem.data}} {{$mitem.data}}{{/if}}>{{$mitem.title}}</a>
|
||||
{{/foreach}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="wall-item-author text-truncate">
|
||||
<a href="{{$profile_url}}" title="{{$linktitle}}" class="wall-item-name-link u-url"><span class="wall-item-name" id="pinned-item-name-{{$id}}" >{{$name}}</span></a>{{if $owner_url}} {{$via}} <a href="{{$owner_url}}" title="{{$olinktitle}}" class="wall-item-name-link"><span class="wall-item-name" id="pinned-item-ownername-{{$id}}">{{$owner_name}}</span></a>{{/if}}<br>
|
||||
<small class="wall-item-addr opacity-75">{{$linktitle}}</small>
|
||||
</div>
|
||||
<div class="text-end ms-auto">
|
||||
<div class="wall-item-ago text-nowrap opacity-75" id="wall-item-ago-{{$id}}">
|
||||
{{if $editedtime}}
|
||||
<i class="fa fa-pencil"></i>
|
||||
{{/if}}
|
||||
{{if $delayed}}
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{/if}}
|
||||
{{if $location}}
|
||||
<small class="wall-item-location p-location" id="wall-item-location-{{$id}}">{{$location}}</small>
|
||||
{{/if}}
|
||||
{{if $verified}}
|
||||
<i class="fa fa-check text-success" title="{{$verified}}"></i>
|
||||
{{elseif $forged}}
|
||||
<i class="fa fa-exclamation text-danger" title="{{$forged}}"></i>
|
||||
{{/if}}
|
||||
<small class="autotime" title="{{$isotime}}"><time class="dt-published" datetime="{{$isotime}}">{{$localtime}}</time>{{if $editedtime}} {{$editedtime}}{{/if}}{{if $expiretime}} {{$expiretime}}{{/if}}</small>
|
||||
</div>
|
||||
<div class="wall-item-pinned" title="{{$pinned}}" id="wall-item-pinned-{{$id}}"><i class="fa fa-thumb-tack"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{if $divider}}
|
||||
<hr class="wall-item-divider">
|
||||
{{/if}}
|
||||
|
||||
@@ -20,13 +20,13 @@
|
||||
<hr class="m-0">
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
<div class="p-2 clearfix wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
|
||||
<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}}">
|
||||
<div class="p-2 lh-sm d-flex wall-item-head{{if !$item.title && !$item.event && !$item.photo}} rounded-top{{/if}}{{if $item.is_new && !$item.event && !$item.is_comment}} wall-item-head-new{{/if}}" >
|
||||
<div class="wall-item-info pe-2" 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}}">
|
||||
{{if $item.contact_id}}
|
||||
<div class="spinner-wrapper contact-edit-rotator contact-edit-rotator-{{$item.contact_id}}"><div class="spinner s"></div></div>
|
||||
{{/if}}
|
||||
<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" />
|
||||
<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}}
|
||||
@@ -40,17 +40,41 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div class="wall-item-author text-truncate">
|
||||
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span>{{/if}}
|
||||
{{if $item.lock}}
|
||||
<div class="wall-item-lock dropdown">
|
||||
<i class="fa {{if $item.locktype == 2}}fa-envelope-o{{else if $item.locktype == 1}}fa-lock{{else}}fa-unlock{{/if}} lockview{{if $item.privacy_warning}} text-danger{{/if}}" data-bs-toggle="dropdown" title="{{$item.lock}}" onclick="lockview('item',{{$item.id}});" ></i>
|
||||
<div id="panel-{{$item.id}}" class="dropdown-menu"></div>
|
||||
</div>
|
||||
{{/if}}
|
||||
<a href="{{$item.profile_url}}" class="wall-item-name-link u-url"{{if $item.app}} title="{{$item.str_app}}"{{/if}}><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}<br>
|
||||
<small class="wall-item-addr opacity-75">{{$item.linktitle}}</small>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="wall-item-author">
|
||||
{{if $item.previewing}}<span class="preview-indicator"><i class="fa fa-eye" title="{{$item.preview_lbl}}"></i></span> {{/if}}
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" ><bdi>{{$item.name}}</bdi></span></a>{{if $item.owner_url}} {{$item.via}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}"><bdi>{{$item.owner_name}}</bdi></span></a>{{/if}}
|
||||
</div>
|
||||
<div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.verified}}<i class="fa fa-check item-verified" title="{{$item.verified}}"></i> {{elseif $item.forged}}<i class="fa fa-exclamation item-forged" title="{{$item.forged}}"></i> {{/if}}{{if $item.location}}<span class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}, </span>{{/if}}<span class="autotime" title="{{$item.isotime}}">{{$item.localtime}}{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</span>{{if $item.editedtime}} <i class="fa fa-pencil"></i>{{/if}} {{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}
|
||||
<div class="text-end ms-auto">
|
||||
<div class="wall-item-ago text-nowrap opacity-75" id="wall-item-ago-{{$item.id}}">
|
||||
{{if $item.editedtime}}
|
||||
<i class="fa fa-pencil"></i>
|
||||
{{/if}}
|
||||
{{if $item.delayed}}
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{{/if}}
|
||||
{{if $item.location}}
|
||||
<small class="wall-item-location p-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</small>
|
||||
{{/if}}
|
||||
{{if $item.verified}}
|
||||
<i class="fa fa-check text-success" title="{{$item.verified}}"></i>
|
||||
{{elseif $item.forged}}
|
||||
<i class="fa fa-exclamation text-danger" title="{{$item.forged}}"></i>
|
||||
{{/if}}
|
||||
<small class="autotime" title="{{$item.isotime}}"><time class="dt-published" datetime="{{$item.isotime}}">{{$item.localtime}}</time>{{if $item.editedtime}} {{$item.editedtime}}{{/if}}{{if $item.expiretime}} {{$item.expiretime}}{{/if}}</small>
|
||||
</div>
|
||||
{{if $item.thr_parent}}
|
||||
<a href="javascript:doscroll('{{$item.thr_parent}}',{{$item.parent}});" class="ms-3" title="{{$item.top_hint}}"><i class="fa fa-angle-double-up"></i></a>
|
||||
{{/if}}
|
||||
{{if $item.pinned}}
|
||||
<div class="wall-item-pinned" title="{{$item.pinned}}" id="wall-item-pinned-{{$item.id}}"><i class="fa fa-thumb-tack"></i></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{if $item.divider}}
|
||||
|
||||
Reference in New Issue
Block a user