summaryrefslogtreecommitdiffstats
path: root/apps/files_external/templates
diff options
context:
space:
mode:
authorRobin McCorkell <robin@mccorkell.me.uk>2016-03-16 22:06:49 +0000
committerRobin McCorkell <robin@mccorkell.me.uk>2016-03-16 22:06:49 +0000
commita51ece97e3a3ffd612d3e64b2f1a341ad0759e28 (patch)
treec3d9c8f113fb4a8ea088c0678b511a76f257ac67 /apps/files_external/templates
parentb4ea527fb2504a259e59c97b1f5cf77b47dafbe9 (diff)
downloadnextcloud-server-a51ece97e3a3ffd612d3e64b2f1a341ad0759e28.tar.gz
nextcloud-server-a51ece97e3a3ffd612d3e64b2f1a341ad0759e28.zip
Display external storage GUI even if user mounting disabled
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r--apps/files_external/templates/settings.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index f7caf3d2caa..697a145131c 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -85,7 +85,11 @@
</tr>
</thead>
<tbody>
- <tr id="addMountPoint">
+ <tr id="addMountPoint"
+ <?php if ($_['visibilityType'] === BackendService::VISIBILITY_PERSONAL && $_['allowUserMounting'] === false): ?>
+ style="display: none;"
+ <?php endif; ?>
+ >
<td class="status">
<span></span>
</td>