Skip to content

Commit

Permalink
add icon_expr to Plone Site typeinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
petschki committed Sep 29, 2021
1 parent 8e1ec78 commit 94b694a
Showing 1 changed file with 9 additions and 2 deletions.
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 94b694a

Please sign in to comment.