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
|
|
|
|
*}}
|
2015-12-01 20:07:05 +00:00
|
|
|
<div id="sidebar-photos-albums" class="widget">
|
2015-05-27 01:35:29 +00:00
|
|
|
<h3>{{$title}}</h3>
|
2017-10-20 13:21:42 +00:00
|
|
|
<ul role="menubar" class="sidebar-photos-albums-ul">
|
2015-12-01 20:07:05 +00:00
|
|
|
<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>
|
2015-12-01 20:07:05 +00:00
|
|
|
</li>
|
|
|
|
|
2015-05-27 01:35:29 +00:00
|
|
|
{{if $albums}}
|
|
|
|
{{foreach $albums as $al}}
|
|
|
|
{{if $al.text}}
|
2015-12-01 20:07:05 +00:00
|
|
|
<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">
|
2015-12-01 20:07:05 +00:00
|
|
|
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-05-27 01:35:29 +00:00
|
|
|
{{/if}}
|
|
|
|
{{/foreach}}
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
2015-05-28 13:54:53 +00:00
|
|
|
|
2015-12-01 20:07:05 +00:00
|
|
|
{{if $can_post}}
|
2021-05-19 21:47:15 +00:00
|
|
|
<div class="photos-upload-link"><a href="{{$upload.1}}">{{$upload.0}}</a></div>
|
2015-12-01 20:07:05 +00:00
|
|
|
{{/if}}
|
2015-05-27 01:35:29 +00:00
|
|
|
</div>
|