Преглед изворни кода

Portal: Primary action on a ServiceSubcategory of the services catalog is now the creation of a new UserRequest. Previous one (Viewing details of the ServiceSubcategory) now becomes the secondary action.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4698 a333f486-631f-4898-b8df-5754b55c2be0
glajarige пре 8 година
родитељ
комит
1cb65d31cd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml

+ 1 - 1
datamodels/2.x/itop-tickets/datamodel.itop-tickets.xml

@@ -1090,7 +1090,6 @@
 											<tooltip_att>description</tooltip_att>
 											<title>Class:ServiceSubcategory</title>
 											<actions>
-												<action id="view" xsi:type="view"/>
 												<action id="create_from_this" xsi:type="create_from_this">
 													<!-- Can be either a class tag containing the class of the object to create, or a static method taking the origin object as a parameter and that will return a object of the desired class -->
 													<!-- (eg. \Ticket::FromServiceSubcategory($oOrigin) that should return either a UserRequest or Incident regarding the request type) -->
@@ -1106,6 +1105,7 @@
 														<rule id="go-to-open-request-on-submit"/>
 													</rules>
 												</action>
+												<action id="view" xsi:type="view"/>
 											</actions>
 											<levels/>
 										</level>