N°641 Portal: Browse and Manage bricks now have an optional <opening_target> tag to choose how to open items (modal, new tab, current window).

SVN:trunk[4623]
This commit is contained in:
Guillaume Lajarige
2017-03-24 09:09:15 +00:00
parent cf17e197ce
commit 9937f62f9d
12 changed files with 184 additions and 76 deletions

View File

@@ -1088,6 +1088,8 @@
<class>UserRequest</class>
<!-- Optional tag that can be used on any action type -->
<!--<title>Créer un ticket</title>-->
<!-- Optional tag to define if the action should be done in a modal window ("modal"), a new window ("new") or the current window ("self") -->
<!--<opening_target>modal</opening_target>-->
<icon_class>fc fc-new-request fc-1-6x fc-flip-horizontal</icon_class>
<rules>
<rule id="contact-to-userrequest"/>
@@ -1129,6 +1131,8 @@
<default>fc fc-ongoing-request fc-2x</default>
</decoration_class>
<oql><![CDATA[SELECT Ticket]]></oql>
<!-- Optional tag to define if the action should be done in a modal window ("modal"), a new window ("new") or the current window ("self") -->
<!--<opening_target>modal</opening_target>-->
<!-- Optional tag to define the how the objects should be opened. Values can be edit|view. Note that even if this is set to edit, objects not allowed in edition mode for the user (cf. scopes and security layers) will open in view mode -->
<!-- <opening_mode>edit</opening_mode> -->
<!-- Can be either a class tag with the class name or an oql tag with the query -->