-
Notifications
You must be signed in to change notification settings - Fork 2
/
ds-templates.xml
41 lines (40 loc) · 1.34 KB
/
ds-templates.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<datasources xmlns="http://www.appng.org/schema/platform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.appng.org/schema/platform http://www.appng.org/schema/platform/appng-platform.xsd">
<datasource id="templates">
<config>
<title>templates</title>
<permissions>
<permission ref="template.list" mode="set" />
</permissions>
<params />
<meta-data bindClass="org.appng.api.model.Identifier">
<field name="name" type="text">
<sort prio="0" order="asc" ignore-case="true"/>
<label>name</label>
</field>
<field name="description" type="text">
<sort />
<label>description</label>
</field>
<field name="packageVersion" type="text">
<label>version</label>
</field>
<field name="actions" type="linkpanel">
<label>actions</label>
</field>
</meta-data>
<linkpanel id="actions" location="inline">
<link mode="intern" target="/applications?form_action=deleteTemplate&name=#{name}">
<label>delete</label>
<icon>delete</icon>
<confirmation id="template.delete.confirm" params="#{name}"></confirmation>
<permissions>
<permission ref="template.delete" mode="set" />
</permissions>
</link>
</linkpanel>
</config>
<bean id="templates" />
</datasource>
</datasources>