Skip to content

Commit

Permalink
Merge pull request #91 from plone/yurj-icon-1
Browse files Browse the repository at this point in the history
Update controlpanel.xml
  • Loading branch information
agitator authored Feb 9, 2022
2 parents 2d8a463 + c1acee0 commit e112923
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/91.news
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use iconresolver to get the proper svg icon
10 changes: 10 additions & 0 deletions plone/app/caching/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,14 @@
/>
</genericsetup:upgradeSteps>

<genericsetup:upgradeSteps
source="2"
destination="3"
profile="plone.app.caching:default">
<genericsetup:upgradeDepends
title="Upgrade plone.app.caching icon"
import_steps="controlpanel"
/>
</genericsetup:upgradeSteps>

</configure>
2 changes: 1 addition & 1 deletion plone/app/caching/profiles/default/controlpanel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
appId="plone.app.caching"
category="plone-advanced"
condition_expr=""
icon_expr="string:$portal_url/++resource++plone.app.caching.gif"
icon_expr="string:speedometer2"
url_expr="string:${portal_url}/@@caching-controlpanel"
visible="True"
i18n:attributes="title">
Expand Down
2 changes: 1 addition & 1 deletion plone/app/caching/profiles/default/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<metadata>
<version>2</version>
<version>3</version>
<dependencies>
<dependency>profile-plone.app.registry:default</dependency>
</dependencies>
Expand Down

0 comments on commit e112923

Please sign in to comment.