Some on the authoring steps for publications
parent
786bf1672a
commit
6cea3ca1e3
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html [<!ENTITY times '×'>]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
|
||||
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
||||
xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
<ui:composition template="/WEB-INF/views/org/scientificcms/contenttypes/ui/edit-publication.xhtml">
|
||||
|
||||
<ui:define name="publicationProperties">
|
||||
|
||||
<!-- Publisher via AssetSearchWidget -->
|
||||
|
||||
<ui:insert name="publicationWithPublisherProperties" />
|
||||
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
<!DOCTYPE html [<!ENTITY times '×'>]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
|
||||
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
||||
xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/documents/authoringstep.xhtml">
|
||||
|
||||
<ui:define name="authoringStep">
|
||||
|
||||
<h2>#{authoringStepTitle}</h2>
|
||||
|
||||
<h3>#{SciPublicationsUiMessageBundle['basicproperties.name.header']}</h3>
|
||||
<div class="d-flex">
|
||||
<pre class="mr-2">#{SciCmsPublicationPropertiesStepModel.name}</pre>
|
||||
<c:if test="#{CmsSelectedDocumentModel.canEdit}">
|
||||
<button class="btn btn-primary btn-sm"
|
||||
data-toggle="modal"
|
||||
data-target="#name-edit-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="pen" />
|
||||
<span class="sr-only">
|
||||
#{SciPublicationsUiMessageBundle['basicproperties.name.edit']}
|
||||
</span>
|
||||
</button>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
<c:if test="#{CmsSelectedDocumentModel.canEdit}">
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="name-edit-dialog-title"
|
||||
class="modal fade"
|
||||
id="name-edit-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/documents/#{CmsSelectedDocumentModel.itemPath}/@monograph-basicproperties/name"
|
||||
class="modal-content"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="name-edit-dialog-title">
|
||||
#{SciPublicationsUiMessageBundle['basicproperties.name.edit.title']}
|
||||
</h4>
|
||||
<button aria-label="#{SciPublicationsUiMessageBundle['basicproperties.name.edit.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<bootstrap:formGroupText
|
||||
help="#{SciPublicationsUiMessageBundle['basicproperties.name.help']}"
|
||||
inputId="name"
|
||||
label="#{SciPublicationsUiMessageBundle['basicproperties.name.label']}"
|
||||
name="name"
|
||||
pattern="^([a-zA-Z0-9_-]*)$"
|
||||
required="true"
|
||||
value="#{SciProjectPropertiesStep.name}"/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-warning"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{SciPublicationsUiMessageBundle['basicproperties.name.edit.close']}
|
||||
</button>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{SciPublicationsUiMessageBundle['basicproperties.name.edit.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
<!-- name: String -->
|
||||
|
||||
<!-- title: LocalizedString -->
|
||||
|
||||
<!-- yearOfPublication: int -->
|
||||
|
||||
<!-- shortDescription: LocalizedString Textarea! -->
|
||||
|
||||
<!-- authors: List<Authorships>, via asset search widget -->
|
||||
|
||||
<ui:insert name="publicationProperties" />
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
|
||||
</html>
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html [<!ENTITY times '×'>]>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:bootstrap="http://xmlns.jcp.org/jsf/composite/components/bootstrap"
|
||||
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
||||
xmlns:libreccm="http://xmlns.jcp.org/jsf/composite/components/libreccm"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
<ui:composition template="/WEB-INF/views/org/scientificcms/contenttypes/ui/edit-publication-with-publisher.xhtml">
|
||||
|
||||
<ui:param name="authoringStep"
|
||||
value="#{mvc.basePath}/#{ContentSectionModel.sectionName}/documents/#{CmsSelectedDocumentModel.itemPath}/@monograph-basicproperties" />
|
||||
|
||||
<ui:param name="authoringStepTitle"
|
||||
value="#{SciPublicationsUiMessageBundle.getMessage('monograph.basicproperties.header', [SciCmsPublicationPropertiesStepModel.name])}" />
|
||||
|
||||
|
||||
|
||||
<ui:define name="publicationWithPublisherProperties">
|
||||
<!-- insert publication with publisher -->
|
||||
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
|
||||
</html>
|
||||
|
|
@ -274,3 +274,11 @@ createform.workflow.help=The workflow to use for the new publication item.
|
|||
createform.workflow.label=Workflow
|
||||
createform.cancel=Cancel
|
||||
monograph.createform.submit=Create monograph
|
||||
monograph.basicproperties.header=Edit properties of monograph {0}
|
||||
basicproperties.name.header=Basic properties
|
||||
basicproperties.name.edit=Edit name of the publication item
|
||||
basicproperties.name.edit.title=Edit name of publication item
|
||||
basicproperties.name.help=The name (URL fragment) of the publication item. Can only contain the letters a to z, A to Z, numbers, the dash ("-") and the underscore ("_").
|
||||
basicproperties.name.label=Name
|
||||
basicproperties.name.edit.close=Cancel
|
||||
basicproperties.name.edit.submit=Save
|
||||
|
|
|
|||
|
|
@ -274,3 +274,11 @@ createform.workflow.help=Der Arbeitsablauf, der f\u00fcr das neuen Publikations-
|
|||
createform.workflow.label=Arbeitsablauf
|
||||
createform.cancel=Abbrechen
|
||||
monograph.createform.submit=Monographie anlegen
|
||||
monograph.basicproperties.header=Eigenschaften der Monographie {0} bearbeiten
|
||||
basicproperties.name.header=Basiseigenschaften
|
||||
basicproperties.name.edit=Name des Publikationsitem bearbeiten
|
||||
basicproperties.name.edit.title=Name des Publikationsitems bearbeiten
|
||||
basicproperties.name.help=Der Name (URL-Fragment) des Publikations-Items. Darf nur die Buchstaben A bis Z und a bis z, Zahlen, den Bindestrich ("-") und den Unterstrich ("_") enthalten.
|
||||
basicproperties.name.label=Name
|
||||
basicproperties.name.edit.close=Abbrechen
|
||||
basicproperties.name.edit.submit=Speichern
|
||||
|
|
|
|||
Loading…
Reference in New Issue