Commit 0dc0b39f authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1324: Adapt admin dialogs to view but not change alias

parent a9ac31ab
<%@ taglib prefix="c" uri="" %>
<%@ taglib prefix="s" uri="" %>
<s:url value="${actionPath}" var="saveUrl" />
<form method="POST" action="${saveUrl}">
<div class="form-header">
<h2 id="form-header-title"><s:message code="" /></h2>
<input type="hidden" id="datasourceId" name="datasourceId" value="${datasourceId}" />
<input type="hidden" id="endpointId" name="endpointId" value="${endpointId}" />
<input type="hidden" id="schemaId" name="schemaId" value="${schemaId}" />
<div class="form-content">
<div class="form-group row">
<label class="col-form-label col-5" for="oai_prefix"><s:message code="" /></label>
<div class="col-7">
<input type="text" class="form-control" name="oaiPrefix" id="oaiPrefix" value="${prefix}" />
<div class="form-footer">
<button class="btn btn-default cancel form-btn-cancel" type="reset"><s:message code="" /></button>
<button class="btn btn-primary start form-btn-submit" type="submit"><s:message code="" /></button>
......@@ -114,9 +114,8 @@
<span class="state-heading"><s:message code="" />:</span>
<span class="no-break-out">${}</span>
<c:if test="${ep.method=='OAI-PMH'}">
<span class="state-heading"><s:message code="" />:</span>
<span class="state-heading"><s:message code="${ep.method=='OAI-PMH' ? 'oaipmh_prefix' : 'alias'}" />:</span>
<c:when test="${ds.remoteAlias!=null && fn:length(ds.remoteAlias) > 0}">
<c:set var="prefix" value="${ds.remoteAlias}" />
......@@ -127,14 +126,8 @@
<c:set var="prefix_state" value="state-warning" />
<span class="oaipmh-metadata-prefix">${prefix}</span>&nbsp;
<c:if test="${_auth.level >= 100}">
<button class="btn btn-inline ${prefix_state}" onclick="editor.editPrefix('${}','${}','${ds.remoteAlias}', '.oaipmh-metadata-prefix');">
<i class="far fa-edit"></i>
<span class="state-heading"><s:message code="" />:</span>
<span class="no-break-out">${}</span>
Supports Markdown
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