Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dariah
search-commons-webresources
Commits
c1d09b38
Commit
c1d09b38
authored
Jul 27, 2020
by
Gradl, Tobias
Browse files
Implement git capabilities of processing-adapters (#406)
parent
6a4a58f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
js/collections/list.js
View file @
c1d09b38
...
...
@@ -36,16 +36,20 @@ CollectionsEditor.prototype.createTable = function() {
"
data
"
:
function
(
row
,
type
,
val
,
meta
)
{
return
editor
.
renderUrlColumn
(
row
,
type
,
val
,
meta
);
},
},
{
"
targets
"
:
[
3
],
"
data
"
:
"
entity.endpoint.
method
"
,
"
data
"
:
"
entity.endpoint.
accessType
"
,
"
class
"
:
"
no-break
"
},
{
"
targets
"
:
[
4
],
"
responsivePriority
"
:
1
,
// It has the right border
"
targets
"
:
[
4
],
"
data
"
:
"
entity.endpoint.fileType
"
,
"
class
"
:
"
no-break
"
},
{
"
targets
"
:
[
5
],
"
responsivePriority
"
:
1
,
// It has the right border
"
data
"
:
"
entity.dataset.datamodelPojo.name
"
},
{
"
targets
"
:
[
5
],
"
visible
"
:
false
,
"
targets
"
:
[
6
],
"
visible
"
:
false
,
"
data
"
:
"
entity.collection.name
"
},
{
"
targets
"
:
[
0
,
1
,
2
,
3
,
4
],
"
targets
"
:
[
0
,
1
,
2
,
3
,
4
,
5
],
"
render
"
:
function
(
data
,
type
,
row
,
meta
)
{
return
'
<a href="
'
+
__util
.
composeRelativeUrl
(
row
.
entity
.
id
)
+
'
">
'
+
data
+
'
</a>
'
;
}
...
...
@@ -75,7 +79,7 @@ CollectionsEditor.prototype.setGroupRow = function(rows, group) {
return
$
(
'
<tr class="state-row-
'
+
overallState
+
'
" id="
'
+
rows
.
data
()[
0
].
entity
.
collection
.
id
+
'
" />
'
)
.
append
(
'
<th class="state-
'
+
overallState
+
'
"></th>
'
)
.
append
(
'
<td colspan="
4
">
'
+
.
append
(
'
<td colspan="
5
">
'
+
'
<h2 class="group-heading"><a href="
'
+
__util
.
composeRelativeUrl
(
rows
.
data
()[
0
].
entity
.
collection
.
id
)
+
'
/">
'
+
rows
.
data
()[
0
].
entity
.
collection
.
name
+
'
</a></h2>
'
+
'
</td>
'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment