mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
43 lines
1.7 KiB
Smarty
43 lines
1.7 KiB
Smarty
{{*
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*}}
|
|
<div class="shared-wrapper well well-sm">
|
|
<div class="shared_header">
|
|
{{if $avatar}}
|
|
<a href="{{$profile}}" target="_blank" rel="noopener noreferrer" class="avatar shared-userinfo">
|
|
<img src="{{$avatar}}" alt="">
|
|
</a>
|
|
{{/if}}
|
|
<div class="metadata">
|
|
<p class="shared-author">
|
|
<a href="{{$profile}}" target="_blank" rel="noopener noreferrer" class="shared-wall-item-name">
|
|
{{$author}}
|
|
</a>
|
|
</p>
|
|
<p class="shared-wall-item-ago">
|
|
{{if $guid}}
|
|
<a href="/display/{{$guid}}">
|
|
{{/if}}
|
|
<span class="shared-time">{{$posted}}</span>
|
|
{{if $guid}}
|
|
</a>
|
|
{{/if}}
|
|
</p>
|
|
</div>
|
|
<div class="preferences">
|
|
{{if $network_svg && $link}}
|
|
<span class="wall-item-network"><a href="{{$link}}" class="plink u-url" target="_blank"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy"/></a></span>
|
|
{{elseif $link}}
|
|
<a href="{{$link}}" class="plink u-url" aria-label="{{$link_title}}" title="{{$network_name}} - {{$link_title}}" target="_blank">{{$network_name}}</a>
|
|
{{elseif $network_svg}}
|
|
<span class="wall-item-network"><img class="network-svg" src="{{$network_svg}}" alt="{{$network_name}} - {{$link_title}}" title="{{$network_name}} - {{$link_title}}" loading="lazy"/></span>
|
|
{{else}}
|
|
<span class="wall-item-network" title="{{$app}}">{{$network_name}}</span>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|
|
<blockquote class="shared_content" dir="auto">{{$content nofilter}}</blockquote>
|
|
</div>
|