1 {{* Template for singele photo view *}}
3 {{* "live-photos" is needed for js autoupdate *}}
4 <div id="live-photos"></div>
6 <div id="photo-view-{{$id}}" class="generic-page-wrapper">
7 <div class="pull-left" id="photo-edit-link-wrap">
8 <a class="page-action faded-icon" id="photo-album-link" href="{{$album.0}}" title="{{$album.1}}" data-toggle="tooltip">
9 <i class="fa fa-folder-open"></i> {{$album.1}}
12 <div class="pull-right" id="photo-edit-link-wrap">
14 <span class="icon-padding"> </span>
15 <a id="photo-edit-link" href="{{$tools.edit.0}}" title="{{$tools.edit.1}}" data-toggle="tooltip">
16 <i class="page-action faded-icon fa fa-pencil"></i>
18 <span class="icon-padding"> </span>
19 <a id="photo-toprofile-link" href="{{$tools.profile.0}}" title="{{$tools.profile.1}}" data-toggle="tooltip">
20 <i class="page-action faded-icon fa fa-user"></i>
24 <span class="icon-padding"> </span>
25 <a id="photo-lock-link" onclick="lockview(event,'photo/{{$id}}');" title="{{$lock}}" data-toggle="tooltip">
26 <i class="page-action faded-icon fa fa-lock"></i>
30 <div class="clear"></div>
32 <div id="photo-view-wrapper">
33 <div id="photo-photo">
35 <div class="photo-container">
36 <a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" alt="{{$photo.filename}}"/></a>
39 {{* Overlay buttons for previous and next photo *}}
41 <a class="photo-prev-link" href="{{$prevlink.0}}"><i class="fa fa-angle-left" aria-hidden="true"></i></a>
44 <a class="photo-next-link" href="{{$nextlink.0}}"><i class="fa fa-angle-right" aria-hidden="true"></i></a>
48 <div id="photo-photo-end"></div>
49 {{* The photo description *}}
50 <div id="photo-caption">{{$desc nofilter}}</div>
52 {{* Tags and mentions *}}
54 <div id="photo-tags">{{$tags.title}}
55 {{foreach $tags.tags as $t}}
56 <span class="category label btn-success sm">
57 <span class="p-category">{{$t.name}}</span>
58 {{if $t.removeurl}} <a href="{{$t.removeurl}}">(X)</a> {{/if}}
64 {{if $tags.removeanyurl}}
66 <a href="{{$tags.removeanyurl}}">{{$tags.removetitle}}</a>
70 {{* The part for editing the photo - only available for the edit subpage *}}
71 {{if $edit}}{{$edit nofilter}}{{/if}}
74 <div id="photo-like-div">
75 {{$likebuttons nofilter}}
83 {{* Insert the comments *}}
84 <div id="photo-comment-wrapper-{{$id}}" class="photo-comment-wrapper">
85 {{$comments nofilter}}
88 {{$paginate nofilter}}