summaryrefslogtreecommitdiffstats
path: root/apps/files_external/templates
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-06-29 11:04:35 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-06-29 11:10:51 -0400
commitf311c2a2ff0155a457097346b6b7011e0db4df64 (patch)
tree43cbf78fe42fb13ce85d9446ff085b7bed003b83 /apps/files_external/templates
parent94add1c000bc40cd77362ae7a1176e2b6c8faad3 (diff)
downloadnextcloud-server-f311c2a2ff0155a457097346b6b7011e0db4df64.tar.gz
nextcloud-server-f311c2a2ff0155a457097346b6b7011e0db4df64.zip
Hide the delete button on new mount point row
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r--apps/files_external/templates/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 7777593d74d..069599d028f 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -74,7 +74,7 @@
</select>
</td>
<?php endif; ?>
- <td <?php if ($mountPoint != '') echo 'class="remove"'; ?>><img alt="<?php echo $l->t('Delete'); ?>" title="<?php echo $l->t('Delete'); ?>" class="svg action" src="<?php echo image_path('core', 'actions/delete.svg'); ?>" /></td>
+ <td <?php echo ($mountPoint != '') ? 'class="remove"' : 'style="visibility:hidden;"'; ?>><img alt="<?php echo $l->t('Delete'); ?>" title="<?php echo $l->t('Delete'); ?>" class="svg action" src="<?php echo image_path('core', 'actions/delete.svg'); ?>" /></td>
</tr>
<?php endforeach; ?>
</tbody>