summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-25 00:05:13 +0200
committerGitHub <noreply@github.com>2018-07-25 00:05:13 +0200
commitf5e4fcadd99a734939f4a0ff09325c6171a6792c (patch)
treee42e52b5b6dce2b68ff6bd2dcea58aa3f7de1918
parent71028fde6b201e35fa7efb224896c8bf3050a856 (diff)
parentdd5f1803dbe27f0aebe67e6243ddc2af71419c9a (diff)
downloadnextcloud-server-f5e4fcadd99a734939f4a0ff09325c6171a6792c.tar.gz
nextcloud-server-f5e4fcadd99a734939f4a0ff09325c6171a6792c.zip
Merge pull request #10378 from nextcloud/bugfix/noid/fix-icon-name-14
Fix icon file names
-rw-r--r--apps/dav/lib/CalDAV/Activity/Provider/Calendar.php2
-rw-r--r--apps/dav/lib/CalDAV/Activity/Provider/Event.php2
-rw-r--r--apps/files_external/js/settings.js2
-rw-r--r--core/css/icons.scss1
-rw-r--r--core/img/actions/group.svg1
-rw-r--r--core/img/actions/starred.svg1
-rw-r--r--settings/js/federationscopemenu.js2
7 files changed, 7 insertions, 4 deletions
diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php
index 45bc3d71c4a..961e4b9764f 100644
--- a/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php
+++ b/apps/dav/lib/CalDAV/Activity/Provider/Calendar.php
@@ -93,7 +93,7 @@ class Calendar extends Base {
if ($this->activityManager->getRequirePNG()) {
$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.png')));
} else {
- $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.svg')));
+ $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar.svg')));
}
if ($event->getSubject() === self::SUBJECT_ADD) {
diff --git a/apps/dav/lib/CalDAV/Activity/Provider/Event.php b/apps/dav/lib/CalDAV/Activity/Provider/Event.php
index f13cb0c266b..378a18397ec 100644
--- a/apps/dav/lib/CalDAV/Activity/Provider/Event.php
+++ b/apps/dav/lib/CalDAV/Activity/Provider/Event.php
@@ -87,7 +87,7 @@ class Event extends Base {
if ($this->activityManager->getRequirePNG()) {
$event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.png')));
} else {
- $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar-dark.svg')));
+ $event->setIcon($this->url->getAbsoluteURL($this->url->imagePath('core', 'places/calendar.svg')));
}
if ($event->getSubject() === self::SUBJECT_OBJECT_ADD . '_event') {
diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js
index 983348397d1..38a77b59a14 100644
--- a/apps/files_external/js/settings.js
+++ b/apps/files_external/js/settings.js
@@ -186,7 +186,7 @@ function addSelect2 ($elements, userListLimit) {
.attr('data-name', element.name)
.attr('data-displayname', element.displayname);
if (element.type === 'group') {
- var url = OC.imagePath('core','places/contacts-dark'); // TODO better group icon
+ var url = OC.imagePath('core','actions/group');
$div.html('<img width="32" height="32" src="'+url+'">');
}
return $result.get(0).outerHTML;
diff --git a/core/css/icons.scss b/core/css/icons.scss
index 7e1580b3381..bbab614972b 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -302,6 +302,7 @@ img, object, video, button, textarea, input, select, div[contenteditable='true']
@include icon-black-white('triangle-s', 'actions', 1, true);
@include icon-black-white('upload', 'actions', 1, true);
@include icon-black-white('user', 'actions', 1, true);
+@include icon-black-white('group', 'actions', 1, true);
@include icon-black-white('video', 'actions', 2, true);
.icon-video-white {
diff --git a/core/img/actions/group.svg b/core/img/actions/group.svg
new file mode 100644
index 00000000000..97361beb9d0
--- /dev/null
+++ b/core/img/actions/group.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 16 16" height="16" width="16" version="1.1"><path d="m10 1c-1.75 0-3 1.43-3 2.8 0 1.4 0.1 2.4 0.8 3.5 0.2 0.29 0.5 0.35 0.7 0.6 0.135 0.5 0.24 1 0.1 1.5-0.28 0.1-0.525 0.22-0.8 0.33-0.085-0.15-0.23-0.2-0.47-0.4-0.73-0.44-1.56-0.75-2.33-1.04-0.1-0.37-0.1-0.65 0-1 0.156-0.166 0.37-0.27 0.5-0.43 0.46-0.6 0.5-1.654 0.5-2.37 0-1.06-0.954-1.9-2-1.9-1.17 0-2 1-2 1.9 0 0.93 0.034 1.64 0.5 2.37 0.13 0.2 0.367 0.26 0.5 0.43 0.1 0.33 0.1 0.654 0 1-0.85 0.3-1.6 0.64-2.34 1.04-0.57 0.4-0.52 0.205-0.66 1.53-0.11 1.06 2.335 1.13 4 1.13 0.06 0 0.11 0 0.17 0-0.054 0.274-0.1 0.63-0.17 1.3-0.16 1.59 3.5 1.7 6 1.7s6.16-0.1 6-1.7c-0.215-2-0.23-1.71-1-2.3-1.1-0.654-2.45-1.17-3.6-1.6-0.15-0.56-0.04-0.97 0.1-1.5 0.235-0.25 0.5-0.36 0.7-0.6 0.7-0.885 0.8-2.425 0.8-3.5 0-1.6-1.43-2.8-3-2.8z"/></svg>
diff --git a/core/img/actions/starred.svg b/core/img/actions/starred.svg
new file mode 100644
index 00000000000..5635ea94e85
--- /dev/null
+++ b/core/img/actions/starred.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 16" width="16" height="16"><path fill="#FC0" d="m8 0.5 2.2 5.3 5.8 0.45-4.5 3.75 1.5 5.5-5-3.1-5 3.1 1.5-5.5-4.5-3.75 5.8-0.45z"/></svg>
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index db8b8ff33f7..250830551aa 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -55,7 +55,7 @@
name: 'contacts',
displayName: t('settings', 'Contacts'),
tooltip: t('settings', 'Visible to local users and to trusted servers'),
- icon: OC.imagePath('core', 'places/contacts-dark'),
+ icon: OC.imagePath('core', 'places/contacts'),
active: false
},
{