2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2018-07-21 11:31:05 +00:00
|
|
|
<div id="sidebar-photos-albums" class="widget">
|
|
|
|
<div class="pull-left">
|
2018-08-11 11:41:55 +00:00
|
|
|
<h3>{{$title}}</h3>
|
2018-07-21 11:31:05 +00:00
|
|
|
</div>
|
2022-11-20 22:15:07 +00:00
|
|
|
|
2018-07-21 11:31:05 +00:00
|
|
|
<div class="pull-right">
|
|
|
|
{{if $can_post}}
|
2018-08-11 11:41:55 +00:00
|
|
|
<div class="photos-upload-link">
|
|
|
|
<a href="{{$upload.1}}" title="{{$upload.0}}" class="widget-action faded-icon" data-toggle="tooltip">
|
|
|
|
<i class="fa fa-plus"></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2018-07-21 11:31:05 +00:00
|
|
|
<ul role="menubar" class="sidebar-photos-albums-ul clear">
|
|
|
|
<li role="menuitem" class="sidebar-photos-albums-li">
|
2022-11-20 22:15:07 +00:00
|
|
|
<a href="profile/{{$nick}}/photos" class="sidebar-photos-albums-element" title="{{$title}}">{{$recent}}</a>
|
2018-07-21 11:31:05 +00:00
|
|
|
</li>
|
|
|
|
|
|
|
|
{{if $albums}}
|
|
|
|
{{foreach $albums as $al}}
|
2018-08-11 11:41:55 +00:00
|
|
|
{{if $al.text}}
|
|
|
|
<li role="menuitem" class="sidebar-photos-albums-li">
|
2022-11-20 22:15:07 +00:00
|
|
|
<a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
|
2018-08-11 11:41:55 +00:00
|
|
|
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2018-07-21 11:31:05 +00:00
|
|
|
{{/foreach}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
</div>
|