1
1
Fork 0
friendica_2019-12_sharedHos.../view/templates/photo_albums.tpl

25 lines
752 B
Smarty
Raw Normal View History

2015-12-01 21:07:05 +01:00
<div id="sidebar-photos-albums" class="widget">
<h3>{{$title}}</h3>
2017-10-20 15:21:42 +02:00
<ul role="menubar" class="sidebar-photos-albums-ul">
2015-12-01 21:07:05 +01:00
<li role="menuitem" class="sidebar-photos-albums-li">
<a href="profile/{{$nick}}/photos" class="sidebar-photos-albums-element" title="{{$title}}">{{$recent}}</a>
2015-12-01 21:07:05 +01:00
</li>
{{if $albums}}
{{foreach $albums as $al}}
{{if $al.text}}
2015-12-01 21:07:05 +01:00
<li role="menuitem" class="sidebar-photos-albums-li">
<a href="photos/{{$nick}}/album/{{$al.bin2hex}}" class="sidebar-photos-albums-element">
2015-12-01 21:07:05 +01:00
<span class="badge pull-right">{{$al.total}}</span>{{$al.text}}
</a>
</li>
{{/if}}
{{/foreach}}
{{/if}}
</ul>
2015-12-01 21:07:05 +01:00
{{if $can_post}}
<div class="photos-upload-link"><a href="{{$upload.1}}">{{$upload.0}}</a></div>
2015-12-01 21:07:05 +01:00
{{/if}}
</div>