aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authorPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
committerPaolo T <tuscanhobbit@users.noreply.github.com>2015-03-22 16:34:40 +0100
commit82fb1ca0caaae72b77b641d22e51d5ae1b188183 (patch)
treea2ecee4e65bc80300c62b5b327965b8118117ad3 /view/tpl/photo_view.tpl
parentff5c3b009fa25e87e294cd458d3de4b677270c64 (diff)
parente345d6793d5f6910dd230f661ca5d1a837b1b504 (diff)
downloadvolse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.gz
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.tar.bz2
volse-hubzilla-82fb1ca0caaae72b77b641d22e51d5ae1b188183.zip
Merge pull request #8 from friendica/master
merging red master into nuvola.red
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-xview/tpl/photo_view.tpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 3ece68876..52ef161ba 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -7,6 +7,11 @@
{{if $tools}}
<a class="btn btn-default btn-xs" title="{{$tools.profile.1}}" href="{{$tools.profile.0}}"><i class="icon-user"></i></a>
{{/if}}
+ {{if $map}}
+ <div class="btn-group btn-group">
+ <i class="icon-globe btn btn-default btn-xs" title="{{$map_text}}" onclick="var pos = $('#photo-map').css('position'); if(pos === 'absolute') { $('#photo-map').css( { position: 'relative', left: 'auto', top: 'auto' }); } else { $('#photo-map').css( { position: 'absolute', left: '-9999px', top: '-9999px' }); }" ></i>
+ </div>
+ {{/if}}
<div class="btn-group btn-group dropdown">
{{if $edit}}
@@ -31,6 +36,9 @@
<div class="clear"></div>
</div>
+ <div id="photo-map">
+ {{$map}}
+ </div>
<div id="photo-edit" class="section-content-tools-wrapper">
<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form">
<input type="hidden" name="item_id" value="{{$edit.item_id}}" />