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-views
Commits
1add77b9
Commit
1add77b9
authored
Jan 17, 2017
by
Gradl, Tobias
Browse files
660: Harmonize and integrate translation codes and messages
Task-Url:
https://mantisbt.tgradl.de/view.php?id=660
parent
237ed9ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
collections/crawls.jsp
View file @
1add77b9
<%@ taglib
prefix=
"c"
uri=
"http://java.sun.com/jsp/jstl/core"
%>
<%@ taglib
prefix=
"fn"
uri=
"http://java.sun.com/jsp/jstl/functions"
%>
<%@ taglib
prefix=
"joda"
uri=
"http://www.joda.org/joda/time/tags"
%>
<%@ taglib
prefix=
"s"
uri=
"http://www.springframework.org/tags"
%>
<c:choose>
<c:when
test=
"
${
crawls
!=
null
&&
fn:
length
(
crawls
)>
0
}
"
>
...
...
@@ -60,6 +61,6 @@
</div>
</c:when>
<c:otherwise>
~ No
crawled
data
available
<s:message
code=
"~eu.dariah.de.minfba.search.view.crawl.notfication.no_
crawled
_
data
"
/>
</c:otherwise>
</c:choose>
\ No newline at end of file
collections/edit.jsp
View file @
1add77b9
...
...
@@ -6,8 +6,8 @@
<%@ taglib
prefix=
"fmt"
uri=
"http://java.sun.com/jsp/jstl/fmt"
%>
<ul
class=
"breadcrumb"
>
<li
class=
"active"
><s:message
code=
"~
d
e.dariah.
genericsearch.view
.administration
.title
"
/></li>
<li><a
href=
"
<s:url
value=
"collections"
/>
"
><s:message
code=
"~eu.dariah.de.minfba.search.view.
datasources.title
"
/></a></li>
<li
class=
"active"
><s:message
code=
"~e
u
.dariah.
de.minfba.common.titles
.administration"
/></li>
<li><a
href=
"
<s:url
value=
"collections"
/>
"
><s:message
code=
"~eu.dariah.de.minfba.search.view.
titles.collection_management
"
/></a></li>
<li
class=
"active"
>
${collectionName}
</li>
</ul>
...
...
@@ -19,7 +19,7 @@
${collectionName}
<small>
<c:if
test=
"
${
_auth
==
null
||
_auth
.
auth
==
false
}
"
>
<span
class=
"glyphicon glyphicon-lock"
data-toggle=
"tooltip"
data-placement=
"left"
title=
"
<s:message
code=
"~
d
e.dariah.common.
view.
notification
s
.limited_access"
/>
"
></span>
<span
class=
"glyphicon glyphicon-lock"
data-toggle=
"tooltip"
data-placement=
"left"
title=
"
<s:message
code=
"~e
u
.dariah.
de.minfba.
common.notification.limited_access"
/>
"
></span>
</c:if>
</small>
...
...
@@ -28,19 +28,19 @@
<table
class=
"details-table"
>
<tbody>
<tr>
<th>
~ID
</th>
<th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.common.id"
/>
</th>
<td>
${collection.id}
</td>
</tr>
<tr>
<th>
~S
ource
</th>
<td><a
title=
"
<s:message
code=
"~eu.dariah.de.minfba.search.
view.datasource
s.show_in_
CR
"
/>
"
href=
"#"
target=
'_blank'
>
${collection.linkUrl}
<i
class=
"fa fa-external-link"
></i></a></td>
<th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.common.s
ource
"
/>
</th>
<td><a
title=
"
<s:message
code=
"~eu.dariah.de.minfba.search.
actions.collection
s.show_in_
cr
"
/>
"
href=
"#"
target=
'_blank'
>
${collection.linkUrl}
<i
class=
"fa fa-external-link"
></i></a></td>
</tr>
</tbody>
</table>
<div
id=
"endpoint-table-container"
class=
"row"
>
<div
class=
"table-light-container col-sm-5"
>
<h4>
~Datasources
</h4>
<h4>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.collections"
/>
</h4>
<table
id=
"endpoint-table"
class=
"table-light"
>
<tbody>
<c:forEach
items=
"
${
datasources
}
"
var=
"ds"
varStatus=
"status"
>
...
...
@@ -63,10 +63,10 @@
<c:forEach
items=
"
${
datasources
}
"
var=
"ds"
varStatus=
"status"
>
<div
id=
"table-details${ds.combinedId}"
class=
"table-light-details
<c:if
test=
"
${
status
.
index
!=
0
}
"
>
hide
</c:if>
"
>
<h4>
~Endpoint
&
S
chema
D
etails
</h4>
<h4>
<s:message
code=
"~eu.dariah.de.minfba.search.view.titles.endpoint_s
chema
_d
etails
"
/>
</h4>
<table
class=
"details-table"
>
<tbody>
<tr><th>
~Url
</th>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.endpoint.url"
/>
</th>
<td>
<span
class=
"no-break-out"
>
${ds.url}
</span>
<c:if
test=
"
${
ds
.
method
==
'OAI-PMH'
}
"
>
...
...
@@ -74,12 +74,12 @@
</c:if>
</td>
</tr>
<tr><th>
~Type
</th><td>
${ds.method}
</td></tr>
<tr><th>
~S
chema
</th><td
class=
"no-break-out"
>
${ds.schemaName}
</td></tr>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.endpoint.type"
/>
</th><td>
${ds.method}
</td></tr>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.s
chema
"
/>
</th><td
class=
"no-break-out"
>
${ds.schemaName}
</td></tr>
<c:if
test=
"
${
ds
.
method
==
'OAI-PMH'
}
"
>
<tr><th>
~Set
</th><td
class=
"no-break-out"
>
${ds.set}
</td></tr>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.metamodel.endpoint.set"
/>
</th><td
class=
"no-break-out"
>
${ds.set}
</td></tr>
<c:if
test=
"
${
ds
.
schemaState
!=
'UNAVAILABLE'
}
"
>
<tr><th>
~P
refix
</th>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.search.metamodel_view.schema.oaipmh_p
refix
"
/>
</th>
<td
class=
"no-break-out"
>
<span
class=
"oaipmh-metadata-prefix"
>
${ds.metadataPrefix!=null
&&
fn:length(ds.metadataPrefix) > 0 ? ds.metadataPrefix : "?"}
</span>
<button
onclick=
"editor.editPrefix('${ds.endpointId}','${ds.schemaId}','${ds.metadataPrefix}', '.oaipmh-metadata-prefix');"
class=
"btn btn-link"
><i
class=
"fa fa-pencil-square-o"
></i>
Set prefix
</button>
...
...
@@ -87,42 +87,42 @@
</tr>
</c:if>
</c:if>
<tr><th>
~Documents
</th>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.search.metamodel_view.endpoint.document_count"
/>
</th>
<td>
${s.docs}
<c:if
test=
"
${
s
.
docs
>
0
}
"
><button
onclick=
"editor.clearEndpointSchemaIndex('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-trash"
></i>
Clear
</button><br
/></c:if>
<c:if
test=
"
${
s
.
docs
>
0
}
"
><button
onclick=
"editor.clearEndpointSchemaIndex('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-trash"
></i>
<s:message
code=
"~eu.dariah.de.minfba.common.actions.clear"
/>
</button><br
/></c:if>
</td>
</tr>
<tr><th>
~Crawl state
</th>
<tr><th>
<s:message
code=
"~eu.dariah.de.minfba.common.status"
/>
</th>
<td
class=
"crawl-state-container"
>
~
loading...
<s:message
code=
"~eu.dariah.de.minfba.common.status.
loading
"
/>
...
</td>
</tr>
</tbody>
</table>
<h4>
~O
nline
data
</h4>
<h4>
<s:message
code=
"~eu.dariah.de.minfba.search.view.titles.o
nline
_
data
"
/>
</h4>
<c:choose>
<c:when
test=
"
${
ds
.
actionable
}
"
>
<table
class=
"details-table"
>
<tbody>
<tr>
<th>
~A
ctions
</th>
<th>
<s:message
code=
"~eu.dariah.de.minfba.common.link.a
ctions
"
/>
</th>
<td>
<button
onclick=
"editor.crawlOnline('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-refresh"
></i>
Crawl
online
data
</button><br
/>
<button
onclick=
"editor.createEmptyCrawl('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-asterisk"
></i>
Create empty crawl folder
</button>
<button
onclick=
"editor.crawlOnline('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-refresh"
></i>
<s:message
code=
"~eu.dariah.de.minfba.search.view.crawl.crawl_
online
"
/>
</button><br
/>
<button
onclick=
"editor.createEmptyCrawl('${ds.endpointId}','${ds.schemaId}');"
class=
"btn btn-link"
><i
class=
"fa fa-asterisk"
></i>
<s:message
code=
"~eu.dariah.de.minfba.search.view.crawl.create_empty"
/>
</button>
</td>
</tr>
</tbody>
</table>
</c:when>
<c:otherwise>
~ No actions due to schema state
<s:message
code=
"~eu.dariah.de.minfba.search.view.crawl.no_actions"
/>
</c:otherwise>
</c:choose>
<h4>
~E
xisting
crawls
</h4>
<h4>
<s:message
code=
"~eu.dariah.de.minfba.search.view.titles.e
xisting
_
crawls
"
/>
</h4>
<div
class=
"previous-crawls-container"
>
</div>
...
...
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