Commit 16cf11f6 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1257: Migrate administrative views

Task-Url: https://pm.winseda.de/issues/1257
parent b9d5eae9
......@@ -6,7 +6,7 @@
<div class="row">
<div class="col-12">
<h1>
${collectionName}
${collectionName}
<c:if test="${_auth==null || _auth.auth==false}"><small>&nbsp;<i class="fas fa-lock" data-toggle="tooltip" data-placement="left" title="<s:message code="~eu.dariah.de.minfba.common.notification.limited_access" />"></i></small></c:if>
</h1>
<h2><s:message code="~eu.dariah.de.minfba.metamodel.collection" /></h2>
......@@ -32,8 +32,8 @@
<c:forEach items="${collection.endpoints}" var="ep" varStatus="ep_status">
<c:forEach items="${ep.datasetPojos}" var="ds" varStatus="ds_status">
<li id="#tab_${ep.id}-${ds.id}" class="nav-item">
<a class="nav-link ${ep_status.index==0 && ds_status.index==0 ? 'active' : ''}" id="s${ep.id}-${ds.id}-tab" href="#s${ep.id}-${ds.id}-panel"
<li id="#tab_${ep.id}-${ds.id}" class="nav-item">
<a class="nav-link${ep.id==selectedEpId && ds.id==selectedDsId ? ' active' : ''}" id="s${ep.id}-${ds.id}-tab" href="#s${ep.id}-${ds.id}-panel"
data-toggle="tab" role="tab" aria-controls="${ep.id}-${ds.id}-panel" data-endpoint="${ep.id}" data-dataset="${ds.id}" aria-selected="${ep_status.index==0 && ds_status.index==0 ? 'true' : 'false'}">
${ds.datamodelPojo.name}
</a>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment