Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Paroz <github@oparoz.com>2015-01-28 00:56:09 +0300
committerOlivier Paroz <github@oparoz.com>2015-01-28 00:56:09 +0300
commit9ffac93a1609705daede7be9b98c6c82f6d6893e (patch)
treeeb7ff3adc1ab2bba659f9fae826697258a7093c3 /templates/part.content.php
parent25af5a16f34ff244225c2fd53e56cd68d28ed96f (diff)
The Gallery button is now available to logged in users
The button which allows users to switch back and forth between the Files and Gallery app without losing the current folder/album was only available in public shares. Not anymore. ### Fixes https://github.com/interfasys/galleryplus/issues/15 https://github.com/owncloud/gallery/issues/116
Diffstat (limited to 'templates/part.content.php')
-rw-r--r--templates/part.content.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 7e1fc07d..3f677789 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -18,11 +18,18 @@ style(
[
'styles',
'mobile',
+ 'gallerybutton'
]
);
?>
<div id="controls">
<div id='breadcrumbs'></div>
+ <!-- toggle for opening shared picture view as file list -->
+ <div id="openAsFileListButton" class="button">
+ <img class="svg" src="<?php print_unescaped(
+ image_path('core', 'actions/toggle-filelist.svg')
+ ); ?>" alt="<?php p($l->t('File list')); ?>"/>
+ </div>
<span class="right">
<button class="share"><?php p($l->t("Share")); ?></button>
<a class="share" data-item-type="folder" data-item=""