summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorFelix A. Epp <work@felixepp.de>2017-04-05 22:12:49 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-04-25 00:22:57 +0200
commit47d9bffc53c7cdfd9f5547c690cfe9d5c184edae (patch)
tree6fac70c5dfc342c1bb7453baafc2fd3752fa026a /settings
parenta04413fd754ea4e56679f900bc67d3ff6428cd63 (diff)
downloadnextcloud-server-47d9bffc53c7cdfd9f5547c690cfe9d5c184edae.tar.gz
nextcloud-server-47d9bffc53c7cdfd9f5547c690cfe9d5c184edae.zip
Make svgs more fluid and consistent remove action, instead of 'remove app'
Signed-off-by: Felix A. Epp <work@felixepp.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/apps.js2
-rw-r--r--settings/templates/apps.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 83a8e893042..d4d10ddc951 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -271,7 +271,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
imageUrl : function (url, appfromstore) {
var img;
if (appfromstore) {
- img = '<svg width="250" height="250" viewBox="0 0 72 72">';
+ img = '<svg viewBox="0 0 72 72">';
img += '<image x="0" y="0" width="72" height="72" preserveAspectRatio="xMinYMin meet" xlink:href="' + url + '" class="app-icon" /></svg>';
} else {
img = '<svg width="32" height="32" viewBox="0 0 32 32">';
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 653adaa5474..817856717a0 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -178,7 +178,7 @@ script(
<input class="enable{{#if needsDownload}} needs-download{{/if}}" type="submit" data-appid="{{id}}" data-active="false" {{#unless canInstall}}disabled="disabled"{{/unless}} value="<?php p($l->t("Enable"));?>"/>
{{/if}}
{{#if canUnInstall}}
- <input class="uninstall" type="submit" value="<?php p($l->t('Remove app')); ?>" data-appid="{{id}}" />
+ <input class="uninstall" type="submit" value="<?php p($l->t('Remove')); ?>" data-appid="{{id}}" />
{{/if}}
<div class="warning hidden"></div>