@truedat/dd 5.5.2 → 5.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/src/components/GrantRemoval.js +6 -3
- package/src/components/GrantRequestCancel.js +4 -2
- package/src/components/GrantRoutes.js +27 -0
- package/src/components/StructureGrantCart.js +19 -12
- package/src/components/StructureGrantDropdown.js +25 -35
- package/src/components/StructureGrantListButton.js +85 -0
- package/src/components/StructureGrantRequestButton.js +1 -21
- package/src/components/StructureGrantSummaryButton.js +87 -0
- package/src/components/StructureRow.js +10 -6
- package/src/components/StructureSummary.js +4 -2
- package/src/components/StructuresGrantRequest.js +0 -0
- package/src/components/StructuresGrantRequestView.js +68 -0
- package/src/components/StructuresLoader.js +4 -2
- package/src/components/StructuresSearch.js +1 -0
- package/src/components/StructuresSearchResults.js +3 -0
- package/src/components/StructuresTable.js +37 -24
- package/src/components/StructuresView.js +9 -10
- package/src/components/__tests__/StructureGrantDropdown.spec.js +66 -29
- package/src/components/__tests__/StructureGrantListButton.spec.js +77 -0
- package/src/components/__tests__/{StructureGrantButton.spec.js → StructureGrantSummaryButton.spec.js} +9 -9
- package/src/components/__tests__/StructureRow.spec.js +10 -10
- package/src/components/__tests__/StructuresGrantRequestView.spec.js +83 -0
- package/src/components/__tests__/StructuresLoader.spec.js +1 -1
- package/src/components/__tests__/__snapshots__/GrantRoutes.spec.js.snap +4 -0
- package/src/components/__tests__/__snapshots__/StructureGrantListButton.spec.js.snap +159 -0
- package/src/components/__tests__/__snapshots__/{StructureGrantButton.spec.js.snap → StructureGrantSummaryButton.spec.js.snap} +5 -5
- package/src/components/__tests__/__snapshots__/StructureRow.spec.js.snap +4 -1
- package/src/components/__tests__/__snapshots__/StructuresGrantRequestView.spec.js.snap +310 -0
- package/src/components/__tests__/__snapshots__/StructuresLoader.spec.js.snap +3 -1
- package/src/components/__tests__/__snapshots__/StructuresTable.spec.js.snap +21 -12
- package/src/messages/en.js +4 -0
- package/src/messages/es.js +5 -0
- package/src/reducers/structureActiveFilters.js +10 -9
- package/src/reducers/structureSelectedFilter.js +1 -1
- package/src/reducers/structures.js +5 -0
- package/src/sagas/createGrantRequestStatus.js +12 -3
- package/src/sagas/requestGrantRemoval.js +13 -3
- package/src/selectors/structureColumnsSelector.js +16 -6
- package/src/components/StructureGrantButton.js +0 -43
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<StructureGrantListButton /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<button
|
|
6
|
+
class="ui orange icon button button basic icon group-actions"
|
|
7
|
+
>
|
|
8
|
+
<i
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
class="shield icon"
|
|
11
|
+
/>
|
|
12
|
+
</button>
|
|
13
|
+
</div>
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
exports[`<StructureGrantListButton /> matches the latest snapshot for requested structure 1`] = `
|
|
17
|
+
<div>
|
|
18
|
+
<button
|
|
19
|
+
class="ui orange icon button button basic icon group-actions"
|
|
20
|
+
>
|
|
21
|
+
<i
|
|
22
|
+
aria-hidden="true"
|
|
23
|
+
class="shield icon"
|
|
24
|
+
/>
|
|
25
|
+
</button>
|
|
26
|
+
</div>
|
|
27
|
+
`;
|
|
28
|
+
|
|
29
|
+
exports[`<StructureGrantListButton /> matches the latest snapshot with grant 1`] = `
|
|
30
|
+
<div>
|
|
31
|
+
<div
|
|
32
|
+
aria-expanded="false"
|
|
33
|
+
class="ui floating dropdown"
|
|
34
|
+
role="listbox"
|
|
35
|
+
tabindex="0"
|
|
36
|
+
>
|
|
37
|
+
<button
|
|
38
|
+
class="ui green icon button button basic icon group-actions"
|
|
39
|
+
>
|
|
40
|
+
<i
|
|
41
|
+
aria-hidden="true"
|
|
42
|
+
class="shield icon"
|
|
43
|
+
/>
|
|
44
|
+
</button>
|
|
45
|
+
<div
|
|
46
|
+
class="menu transition left"
|
|
47
|
+
>
|
|
48
|
+
<div
|
|
49
|
+
class="item"
|
|
50
|
+
role="option"
|
|
51
|
+
>
|
|
52
|
+
<i
|
|
53
|
+
aria-hidden="true"
|
|
54
|
+
class="cart icon"
|
|
55
|
+
/>
|
|
56
|
+
<span
|
|
57
|
+
class="text"
|
|
58
|
+
>
|
|
59
|
+
Request grant
|
|
60
|
+
</span>
|
|
61
|
+
</div>
|
|
62
|
+
<div
|
|
63
|
+
class="item"
|
|
64
|
+
role="option"
|
|
65
|
+
>
|
|
66
|
+
<i
|
|
67
|
+
aria-hidden="true"
|
|
68
|
+
class="edit icon"
|
|
69
|
+
/>
|
|
70
|
+
<span
|
|
71
|
+
class="text"
|
|
72
|
+
>
|
|
73
|
+
Request grant change
|
|
74
|
+
</span>
|
|
75
|
+
</div>
|
|
76
|
+
<div
|
|
77
|
+
class="item"
|
|
78
|
+
role="option"
|
|
79
|
+
>
|
|
80
|
+
<i
|
|
81
|
+
aria-hidden="true"
|
|
82
|
+
class="delete icon"
|
|
83
|
+
/>
|
|
84
|
+
<span
|
|
85
|
+
class="text"
|
|
86
|
+
>
|
|
87
|
+
Request grant removal
|
|
88
|
+
</span>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
`;
|
|
94
|
+
|
|
95
|
+
exports[`<StructureGrantListButton /> matches the latest snapshot with grant request 1`] = `
|
|
96
|
+
<div>
|
|
97
|
+
<div
|
|
98
|
+
aria-expanded="false"
|
|
99
|
+
class="ui floating dropdown"
|
|
100
|
+
role="listbox"
|
|
101
|
+
tabindex="0"
|
|
102
|
+
>
|
|
103
|
+
<button
|
|
104
|
+
class="ui yellow icon button button basic icon group-actions"
|
|
105
|
+
>
|
|
106
|
+
<i
|
|
107
|
+
aria-hidden="true"
|
|
108
|
+
class="shield icon"
|
|
109
|
+
/>
|
|
110
|
+
</button>
|
|
111
|
+
<div
|
|
112
|
+
class="menu transition left"
|
|
113
|
+
>
|
|
114
|
+
<div
|
|
115
|
+
class="item"
|
|
116
|
+
role="option"
|
|
117
|
+
>
|
|
118
|
+
<i
|
|
119
|
+
aria-hidden="true"
|
|
120
|
+
class="cart icon"
|
|
121
|
+
/>
|
|
122
|
+
<span
|
|
123
|
+
class="text"
|
|
124
|
+
>
|
|
125
|
+
Request grant
|
|
126
|
+
</span>
|
|
127
|
+
</div>
|
|
128
|
+
<div
|
|
129
|
+
class="item"
|
|
130
|
+
role="option"
|
|
131
|
+
>
|
|
132
|
+
<i
|
|
133
|
+
aria-hidden="true"
|
|
134
|
+
class="info icon"
|
|
135
|
+
/>
|
|
136
|
+
<span
|
|
137
|
+
class="text"
|
|
138
|
+
>
|
|
139
|
+
View detail
|
|
140
|
+
</span>
|
|
141
|
+
</div>
|
|
142
|
+
<div
|
|
143
|
+
class="item"
|
|
144
|
+
role="option"
|
|
145
|
+
>
|
|
146
|
+
<i
|
|
147
|
+
aria-hidden="true"
|
|
148
|
+
class="delete icon"
|
|
149
|
+
/>
|
|
150
|
+
<span
|
|
151
|
+
class="text"
|
|
152
|
+
>
|
|
153
|
+
Cancel request
|
|
154
|
+
</span>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`<
|
|
3
|
+
exports[`<StructureGrantSummaryButton /> matches snapshot for active grant and active grantRequest 1`] = `
|
|
4
4
|
<div>
|
|
5
5
|
<div
|
|
6
6
|
aria-expanded="false"
|
|
@@ -52,7 +52,7 @@ exports[`<StructureGrantButton /> matches snapshot for active grant and active g
|
|
|
52
52
|
</div>
|
|
53
53
|
`;
|
|
54
54
|
|
|
55
|
-
exports[`<
|
|
55
|
+
exports[`<StructureGrantSummaryButton /> matches snapshot for active grant and inactive grantRequest 1`] = `
|
|
56
56
|
<div>
|
|
57
57
|
<div
|
|
58
58
|
aria-expanded="false"
|
|
@@ -104,7 +104,7 @@ exports[`<StructureGrantButton /> matches snapshot for active grant and inactive
|
|
|
104
104
|
</div>
|
|
105
105
|
`;
|
|
106
106
|
|
|
107
|
-
exports[`<
|
|
107
|
+
exports[`<StructureGrantSummaryButton /> matches snapshot for no grant and active grantRequest 1`] = `
|
|
108
108
|
<div>
|
|
109
109
|
<div
|
|
110
110
|
aria-expanded="false"
|
|
@@ -156,7 +156,7 @@ exports[`<StructureGrantButton /> matches snapshot for no grant and active grant
|
|
|
156
156
|
</div>
|
|
157
157
|
`;
|
|
158
158
|
|
|
159
|
-
exports[`<
|
|
159
|
+
exports[`<StructureGrantSummaryButton /> matches snapshot for no grant and inactive grantRequest 1`] = `
|
|
160
160
|
<div>
|
|
161
161
|
<button
|
|
162
162
|
class="ui orange icon button button basic icon group-actions"
|
|
@@ -169,7 +169,7 @@ exports[`<StructureGrantButton /> matches snapshot for no grant and inactive gra
|
|
|
169
169
|
</div>
|
|
170
170
|
`;
|
|
171
171
|
|
|
172
|
-
exports[`<
|
|
172
|
+
exports[`<StructureGrantSummaryButton /> matches snapshot for no grant and no grantRequest 1`] = `
|
|
173
173
|
<div>
|
|
174
174
|
<button
|
|
175
175
|
class="ui orange icon button button basic icon group-actions"
|
|
@@ -4,27 +4,30 @@ exports[`<StructureRow /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<TableRow
|
|
5
5
|
as="tr"
|
|
6
6
|
cellAs="td"
|
|
7
|
-
onClick={[Function]}
|
|
8
7
|
>
|
|
9
8
|
<TableCell
|
|
10
9
|
as="td"
|
|
11
10
|
content="s1"
|
|
12
11
|
key="0"
|
|
12
|
+
onClick={[Function]}
|
|
13
13
|
/>
|
|
14
14
|
<TableCell
|
|
15
15
|
as="td"
|
|
16
16
|
content="org"
|
|
17
17
|
key="1"
|
|
18
|
+
onClick={[Function]}
|
|
18
19
|
/>
|
|
19
20
|
<TableCell
|
|
20
21
|
as="td"
|
|
21
22
|
content="sys"
|
|
22
23
|
key="2"
|
|
24
|
+
onClick={[Function]}
|
|
23
25
|
/>
|
|
24
26
|
<TableCell
|
|
25
27
|
as="td"
|
|
26
28
|
content="gp"
|
|
27
29
|
key="3"
|
|
30
|
+
onClick={[Function]}
|
|
28
31
|
/>
|
|
29
32
|
</TableRow>
|
|
30
33
|
`;
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<StructuresGrantRequestView /> Clicking a grant request button triggers action 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ui grid"
|
|
7
|
+
>
|
|
8
|
+
<div
|
|
9
|
+
class="row"
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
class="eleven wide column"
|
|
13
|
+
>
|
|
14
|
+
<div
|
|
15
|
+
class="ui segment"
|
|
16
|
+
>
|
|
17
|
+
<h2
|
|
18
|
+
class="ui header"
|
|
19
|
+
>
|
|
20
|
+
<i
|
|
21
|
+
aria-hidden="true"
|
|
22
|
+
class="block layout circular icon"
|
|
23
|
+
/>
|
|
24
|
+
<div
|
|
25
|
+
class="content"
|
|
26
|
+
>
|
|
27
|
+
Structures grant requests
|
|
28
|
+
<div
|
|
29
|
+
class="sub header"
|
|
30
|
+
>
|
|
31
|
+
Request grants for several structures
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</h2>
|
|
35
|
+
<div
|
|
36
|
+
class="ui hidden divider"
|
|
37
|
+
/>
|
|
38
|
+
<div
|
|
39
|
+
class="ui action left icon input"
|
|
40
|
+
>
|
|
41
|
+
<i
|
|
42
|
+
aria-hidden="true"
|
|
43
|
+
class="search link icon"
|
|
44
|
+
/>
|
|
45
|
+
<input
|
|
46
|
+
placeholder="Search structures..."
|
|
47
|
+
type="text"
|
|
48
|
+
value=""
|
|
49
|
+
/>
|
|
50
|
+
<button
|
|
51
|
+
class="ui icon button"
|
|
52
|
+
>
|
|
53
|
+
<i
|
|
54
|
+
aria-hidden="true"
|
|
55
|
+
class="calendar alternate outline icon"
|
|
56
|
+
/>
|
|
57
|
+
</button>
|
|
58
|
+
<div
|
|
59
|
+
aria-expanded="false"
|
|
60
|
+
class="ui button floating labeled scrolling dropdown icon"
|
|
61
|
+
role="listbox"
|
|
62
|
+
tabindex="0"
|
|
63
|
+
>
|
|
64
|
+
<div
|
|
65
|
+
aria-atomic="true"
|
|
66
|
+
aria-live="polite"
|
|
67
|
+
class="divider text"
|
|
68
|
+
role="alert"
|
|
69
|
+
>
|
|
70
|
+
Filters
|
|
71
|
+
</div>
|
|
72
|
+
<i
|
|
73
|
+
aria-hidden="true"
|
|
74
|
+
class="filter icon"
|
|
75
|
+
/>
|
|
76
|
+
<div
|
|
77
|
+
class="menu transition"
|
|
78
|
+
>
|
|
79
|
+
<div
|
|
80
|
+
class="item"
|
|
81
|
+
role="option"
|
|
82
|
+
>
|
|
83
|
+
<em>
|
|
84
|
+
(reset all filters)
|
|
85
|
+
</em>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
<div
|
|
91
|
+
class="selectedFilters"
|
|
92
|
+
/>
|
|
93
|
+
<div
|
|
94
|
+
class="dimmable"
|
|
95
|
+
>
|
|
96
|
+
<div
|
|
97
|
+
class="ui inverted dimmer"
|
|
98
|
+
>
|
|
99
|
+
<div
|
|
100
|
+
class="content"
|
|
101
|
+
>
|
|
102
|
+
<div
|
|
103
|
+
class="ui large loader"
|
|
104
|
+
/>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
<div
|
|
108
|
+
class="ui label structures-label-results"
|
|
109
|
+
>
|
|
110
|
+
3 structures found
|
|
111
|
+
</div>
|
|
112
|
+
<table
|
|
113
|
+
class="ui selectable sortable table"
|
|
114
|
+
>
|
|
115
|
+
<thead
|
|
116
|
+
class=""
|
|
117
|
+
>
|
|
118
|
+
<tr
|
|
119
|
+
class=""
|
|
120
|
+
>
|
|
121
|
+
<th
|
|
122
|
+
class="two wide"
|
|
123
|
+
>
|
|
124
|
+
Structure
|
|
125
|
+
</th>
|
|
126
|
+
<th
|
|
127
|
+
class="one wide ascending sorted disabled"
|
|
128
|
+
>
|
|
129
|
+
Type
|
|
130
|
+
</th>
|
|
131
|
+
<th
|
|
132
|
+
class="one wide"
|
|
133
|
+
>
|
|
134
|
+
System
|
|
135
|
+
</th>
|
|
136
|
+
<th
|
|
137
|
+
class="one wide ascending sorted disabled"
|
|
138
|
+
>
|
|
139
|
+
Group
|
|
140
|
+
</th>
|
|
141
|
+
<th
|
|
142
|
+
class="one wide"
|
|
143
|
+
>
|
|
144
|
+
Last changed
|
|
145
|
+
</th>
|
|
146
|
+
<th
|
|
147
|
+
class="center aligned"
|
|
148
|
+
>
|
|
149
|
+
Request grant
|
|
150
|
+
</th>
|
|
151
|
+
</tr>
|
|
152
|
+
</thead>
|
|
153
|
+
<tbody
|
|
154
|
+
class=""
|
|
155
|
+
>
|
|
156
|
+
<tr
|
|
157
|
+
class=""
|
|
158
|
+
>
|
|
159
|
+
<td
|
|
160
|
+
class=""
|
|
161
|
+
>
|
|
162
|
+
structure_1
|
|
163
|
+
</td>
|
|
164
|
+
<td
|
|
165
|
+
class=""
|
|
166
|
+
>
|
|
167
|
+
table
|
|
168
|
+
</td>
|
|
169
|
+
<td
|
|
170
|
+
class=""
|
|
171
|
+
/>
|
|
172
|
+
<td
|
|
173
|
+
class=""
|
|
174
|
+
/>
|
|
175
|
+
<td
|
|
176
|
+
class=""
|
|
177
|
+
>
|
|
178
|
+
<time
|
|
179
|
+
datetime="1682553600000"
|
|
180
|
+
>
|
|
181
|
+
2023-04-27 00:00
|
|
182
|
+
</time>
|
|
183
|
+
</td>
|
|
184
|
+
<td
|
|
185
|
+
class="collapsing center aligned one wide"
|
|
186
|
+
>
|
|
187
|
+
<button
|
|
188
|
+
class="ui orange icon button button basic icon group-actions"
|
|
189
|
+
>
|
|
190
|
+
<i
|
|
191
|
+
aria-hidden="true"
|
|
192
|
+
class="shield icon"
|
|
193
|
+
/>
|
|
194
|
+
</button>
|
|
195
|
+
</td>
|
|
196
|
+
</tr>
|
|
197
|
+
<tr
|
|
198
|
+
class=""
|
|
199
|
+
>
|
|
200
|
+
<td
|
|
201
|
+
class=""
|
|
202
|
+
>
|
|
203
|
+
structure_2
|
|
204
|
+
</td>
|
|
205
|
+
<td
|
|
206
|
+
class=""
|
|
207
|
+
>
|
|
208
|
+
table
|
|
209
|
+
</td>
|
|
210
|
+
<td
|
|
211
|
+
class=""
|
|
212
|
+
/>
|
|
213
|
+
<td
|
|
214
|
+
class=""
|
|
215
|
+
/>
|
|
216
|
+
<td
|
|
217
|
+
class=""
|
|
218
|
+
>
|
|
219
|
+
<time
|
|
220
|
+
datetime="1682553600000"
|
|
221
|
+
>
|
|
222
|
+
2023-04-27 00:00
|
|
223
|
+
</time>
|
|
224
|
+
</td>
|
|
225
|
+
<td
|
|
226
|
+
class="collapsing center aligned one wide"
|
|
227
|
+
>
|
|
228
|
+
<button
|
|
229
|
+
class="ui orange icon button button basic icon group-actions"
|
|
230
|
+
>
|
|
231
|
+
<i
|
|
232
|
+
aria-hidden="true"
|
|
233
|
+
class="shield icon"
|
|
234
|
+
/>
|
|
235
|
+
</button>
|
|
236
|
+
</td>
|
|
237
|
+
</tr>
|
|
238
|
+
<tr
|
|
239
|
+
class=""
|
|
240
|
+
>
|
|
241
|
+
<td
|
|
242
|
+
class=""
|
|
243
|
+
>
|
|
244
|
+
structure_3
|
|
245
|
+
</td>
|
|
246
|
+
<td
|
|
247
|
+
class=""
|
|
248
|
+
>
|
|
249
|
+
table
|
|
250
|
+
</td>
|
|
251
|
+
<td
|
|
252
|
+
class=""
|
|
253
|
+
/>
|
|
254
|
+
<td
|
|
255
|
+
class=""
|
|
256
|
+
/>
|
|
257
|
+
<td
|
|
258
|
+
class=""
|
|
259
|
+
>
|
|
260
|
+
<time
|
|
261
|
+
datetime="1682553600000"
|
|
262
|
+
>
|
|
263
|
+
2023-04-27 00:00
|
|
264
|
+
</time>
|
|
265
|
+
</td>
|
|
266
|
+
<td
|
|
267
|
+
class="collapsing center aligned one wide"
|
|
268
|
+
>
|
|
269
|
+
<button
|
|
270
|
+
class="ui orange icon button button basic icon group-actions"
|
|
271
|
+
>
|
|
272
|
+
<i
|
|
273
|
+
aria-hidden="true"
|
|
274
|
+
class="shield icon"
|
|
275
|
+
/>
|
|
276
|
+
</button>
|
|
277
|
+
</td>
|
|
278
|
+
</tr>
|
|
279
|
+
</tbody>
|
|
280
|
+
</table>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
<div
|
|
285
|
+
class="five wide column"
|
|
286
|
+
>
|
|
287
|
+
<div
|
|
288
|
+
class="ui segment"
|
|
289
|
+
>
|
|
290
|
+
<div
|
|
291
|
+
class="ui header"
|
|
292
|
+
title="Requested grants"
|
|
293
|
+
>
|
|
294
|
+
Requested grants
|
|
295
|
+
</div>
|
|
296
|
+
<div
|
|
297
|
+
class="ui divider"
|
|
298
|
+
/>
|
|
299
|
+
<div
|
|
300
|
+
class="list"
|
|
301
|
+
/>
|
|
302
|
+
<p>
|
|
303
|
+
Select structures for which grants will be requested
|
|
304
|
+
</p>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
</div>
|
|
309
|
+
</div>
|
|
310
|
+
`;
|
|
@@ -4,7 +4,10 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure act
|
|
|
4
4
|
<Table
|
|
5
5
|
as="table"
|
|
6
6
|
headerRow={
|
|
7
|
-
|
|
7
|
+
<TableRow
|
|
8
|
+
as="tr"
|
|
9
|
+
cellAs="td"
|
|
10
|
+
>
|
|
8
11
|
<TableHeaderCell
|
|
9
12
|
as="th"
|
|
10
13
|
className=""
|
|
@@ -16,7 +19,7 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure act
|
|
|
16
19
|
onClick={[Function]}
|
|
17
20
|
sorted={null}
|
|
18
21
|
width={1}
|
|
19
|
-
|
|
22
|
+
/>
|
|
20
23
|
<TableHeaderCell
|
|
21
24
|
as="th"
|
|
22
25
|
className=""
|
|
@@ -28,8 +31,8 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure act
|
|
|
28
31
|
onClick={[Function]}
|
|
29
32
|
sorted={null}
|
|
30
33
|
width={1}
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
/>
|
|
35
|
+
</TableRow>
|
|
33
36
|
}
|
|
34
37
|
renderBodyRow={[Function]}
|
|
35
38
|
selectable={true}
|
|
@@ -55,7 +58,10 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure not
|
|
|
55
58
|
<Table
|
|
56
59
|
as="table"
|
|
57
60
|
headerRow={
|
|
58
|
-
|
|
61
|
+
<TableRow
|
|
62
|
+
as="tr"
|
|
63
|
+
cellAs="td"
|
|
64
|
+
>
|
|
59
65
|
<TableHeaderCell
|
|
60
66
|
as="th"
|
|
61
67
|
className=""
|
|
@@ -67,7 +73,7 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure not
|
|
|
67
73
|
onClick={[Function]}
|
|
68
74
|
sorted={null}
|
|
69
75
|
width={1}
|
|
70
|
-
|
|
76
|
+
/>
|
|
71
77
|
<TableHeaderCell
|
|
72
78
|
as="th"
|
|
73
79
|
className=""
|
|
@@ -79,8 +85,8 @@ exports[`<StructuresTable /> matches the latest snapshot (selected structure not
|
|
|
79
85
|
onClick={[Function]}
|
|
80
86
|
sorted={null}
|
|
81
87
|
width={1}
|
|
82
|
-
|
|
83
|
-
|
|
88
|
+
/>
|
|
89
|
+
</TableRow>
|
|
84
90
|
}
|
|
85
91
|
renderBodyRow={[Function]}
|
|
86
92
|
selectable={true}
|
|
@@ -109,7 +115,10 @@ exports[`<StructuresTable /> matches the latest snapshot 1`] = `
|
|
|
109
115
|
<Table
|
|
110
116
|
as="table"
|
|
111
117
|
headerRow={
|
|
112
|
-
|
|
118
|
+
<TableRow
|
|
119
|
+
as="tr"
|
|
120
|
+
cellAs="td"
|
|
121
|
+
>
|
|
113
122
|
<TableHeaderCell
|
|
114
123
|
as="th"
|
|
115
124
|
className=""
|
|
@@ -121,7 +130,7 @@ exports[`<StructuresTable /> matches the latest snapshot 1`] = `
|
|
|
121
130
|
onClick={[Function]}
|
|
122
131
|
sorted={null}
|
|
123
132
|
width={1}
|
|
124
|
-
|
|
133
|
+
/>
|
|
125
134
|
<TableHeaderCell
|
|
126
135
|
as="th"
|
|
127
136
|
className=""
|
|
@@ -133,8 +142,8 @@ exports[`<StructuresTable /> matches the latest snapshot 1`] = `
|
|
|
133
142
|
onClick={[Function]}
|
|
134
143
|
sorted={null}
|
|
135
144
|
width={1}
|
|
136
|
-
|
|
137
|
-
|
|
145
|
+
/>
|
|
146
|
+
</TableRow>
|
|
138
147
|
}
|
|
139
148
|
renderBodyRow={[Function]}
|
|
140
149
|
selectable={true}
|
package/src/messages/en.js
CHANGED
|
@@ -314,6 +314,8 @@ export default {
|
|
|
314
314
|
"structure.grant.cancel_grant_request": "Cancel request",
|
|
315
315
|
"structure.grant.cart": "Requested grants",
|
|
316
316
|
"structure.grant.cart.checkout": "Checkout",
|
|
317
|
+
"structure.grant.cart.empty":
|
|
318
|
+
"Select structures for which grants will be requested",
|
|
317
319
|
"structure.grant.cart.template": "Request information",
|
|
318
320
|
"structure.grant.cart.template.placeholder": "Select request type",
|
|
319
321
|
"structure.grant.cart.filters": "Filters for structure",
|
|
@@ -597,6 +599,8 @@ export default {
|
|
|
597
599
|
"structures.uploadStructures.success.content.single":
|
|
598
600
|
"Updated extra info of {count} structure",
|
|
599
601
|
"structures.uploadStructures.success.header": "Upload Success!",
|
|
602
|
+
"structuresGrantRequest.header": "Structures grant requests",
|
|
603
|
+
"structuresGrantRequest.subheader": "Request grants for several structures",
|
|
600
604
|
"sytems.structures.select_message":
|
|
601
605
|
"Please, select a structure on the left pane to see the detail.",
|
|
602
606
|
"tabs.dd.audit": "Audit",
|
package/src/messages/es.js
CHANGED
|
@@ -323,6 +323,8 @@ export default {
|
|
|
323
323
|
"structure.grant.cancel_grant_request": "Cancelar solicitud",
|
|
324
324
|
"structure.grant.cart": "Accesos a solicitar",
|
|
325
325
|
"structure.grant.cart.checkout": "Checkout",
|
|
326
|
+
"structure.grant.cart.empty":
|
|
327
|
+
"Seleccione estructuras para las que se pedirán accesos",
|
|
326
328
|
"structure.grant.cart.template": "Información de solicitud",
|
|
327
329
|
"structure.grant.cart.template.placeholder": "Seleccione tipo de solicitud",
|
|
328
330
|
"structure.grant.cart.filters": "Filtros para la estructura",
|
|
@@ -615,6 +617,9 @@ export default {
|
|
|
615
617
|
"structures.uploadStructures.success.content.single":
|
|
616
618
|
"Se ha actualizado la información adicional de {count} estructura",
|
|
617
619
|
"structures.uploadStructures.success.header": "Fichero subido correctamente",
|
|
620
|
+
"structuresGrantRequest.header": "Peticiones de accesos de estructuras",
|
|
621
|
+
"structuresGrantRequest.subheader":
|
|
622
|
+
"Peticiones de acceso para múltiples estructuras",
|
|
618
623
|
"sytems.structures.select_message":
|
|
619
624
|
"Por favor, selecciona una estructura en el panel de la izquierda para ver el detalle.",
|
|
620
625
|
"tabs.dd.audit": "Auditoría",
|