Skip to content

Commit

Permalink
Merge pull request #259 from plone/petschki-typeinfo-icon
Browse files Browse the repository at this point in the history
Add icon_expr to Plone Site typeinfo
  • Loading branch information
mauritsvanrees authored Oct 14, 2021
2 parents 0443dfe + a352d17 commit f103029
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions news/6001.bugfix
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
Added upgrade to 6001, Plone 6.0.0a1.dev1.
[maurits]

Fix icon_expr in typeinfo action
[petschki]
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@
<alias from="edit" to="@@edit"/>
<alias from="sharing" to="@@sharing"/>
<alias from="view" to="(selected layout)"/>
<action title="View" action_id="view" category="object" condition_expr=""
url_expr="string:${object_url}" visible="True"
<action
title="View"
action_id="view"
category="object"
condition_expr=""
url_expr="string:${object_url}"
icon_expr="string:toolbar-action/view"
visible="True"
i18n:attributes="title">
<permission value="View"/>
</action>
Expand All @@ -72,6 +78,7 @@
i18n:attributes="title"
title="Edit"
url_expr="string:${object_url}/edit"
icon_expr="string:toolbar-action/edit"
visible="True">
<permission value="Modify portal content"/>
</action>
Expand Down

0 comments on commit f103029

Please sign in to comment.