XHTML files for create and edit steps of AudioAsset, Image, and VideoAsset.
parent
4618716d09
commit
c21fc6ec0f
|
|
@ -21,6 +21,9 @@ package org.librecms.assets;
|
|||
import com.arsdigita.cms.ui.assets.forms.AudioForm;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.librecms.ui.contentsections.assets.AudioAssetCreateStep;
|
||||
import org.librecms.ui.contentsections.assets.AudioAssetEditStep;
|
||||
import org.librecms.ui.contentsections.assets.MvcAssetEditKit;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
|
@ -46,6 +49,10 @@ import static org.librecms.assets.AssetConstants.ASSETS_BUNDLE;
|
|||
labelBundle = ASSETS_BUNDLE,
|
||||
descriptionKey = "audio_asset.description",
|
||||
descriptionBundle = ASSETS_BUNDLE)
|
||||
@MvcAssetEditKit(
|
||||
createStep = AudioAssetCreateStep.class,
|
||||
editStep = AudioAssetEditStep.class
|
||||
)
|
||||
public class AudioAsset extends BinaryAsset implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2290028707028530325L;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@ package org.librecms.assets;
|
|||
import com.arsdigita.cms.ui.assets.forms.AudioForm;
|
||||
|
||||
import org.hibernate.envers.Audited;
|
||||
import org.librecms.ui.contentsections.assets.MvcAssetEditKit;
|
||||
import org.librecms.ui.contentsections.assets.VideoAssetCreateStep;
|
||||
import org.librecms.ui.contentsections.assets.VideoAssetEditStep;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
|
@ -47,6 +50,10 @@ import static org.librecms.assets.AssetConstants.ASSETS_BUNDLE;
|
|||
labelBundle = ASSETS_BUNDLE,
|
||||
descriptionKey = "video_asset.description",
|
||||
descriptionBundle = ASSETS_BUNDLE)
|
||||
@MvcAssetEditKit(
|
||||
createStep = VideoAssetCreateStep.class,
|
||||
editStep = VideoAssetEditStep.class
|
||||
)
|
||||
public class VideoAsset extends BinaryAsset implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4377789857099678289L;
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ import javax.inject.Named;
|
|||
@RequestScoped
|
||||
@Named("CmsAudioAssetEditStepModel")
|
||||
public class AudioAssetEditStepModel {
|
||||
|
||||
private Map<String, String> descriptionValues;
|
||||
|
||||
private Map<String, String> descriptionValues;
|
||||
|
||||
private List<String> unusedDescriptionLocales;
|
||||
|
||||
|
|
@ -46,9 +46,9 @@ public class AudioAssetEditStepModel {
|
|||
private String mimeType;
|
||||
|
||||
private long size;
|
||||
|
||||
|
||||
private String sizeLabel;
|
||||
|
||||
|
||||
private LegalMetadata legalMetadata;
|
||||
|
||||
public Map<String, String> getDescriptionValues() {
|
||||
|
|
@ -94,11 +94,11 @@ public class AudioAssetEditStepModel {
|
|||
protected void setSize(final long size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
public String getSizeLabel() {
|
||||
return sizeLabel;
|
||||
}
|
||||
|
||||
|
||||
protected void setSizeLabel(final String sizeLabel) {
|
||||
this.sizeLabel = sizeLabel;
|
||||
}
|
||||
|
|
@ -114,4 +114,9 @@ public class AudioAssetEditStepModel {
|
|||
public String getLegalMetadataType() {
|
||||
return LegalMetadata.class.getName();
|
||||
}
|
||||
|
||||
public boolean isDataAvailable() {
|
||||
return fileName != null && size > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,15 +31,18 @@ public class CmsAssetEditSteps implements MvcAssetEditSteps {
|
|||
public Set<Class<?>> getClasses() {
|
||||
final Set<Class<?>> classes = new HashSet<>();
|
||||
|
||||
classes.add(AudioAssetEditStep.class);
|
||||
classes.add(BookmarkEditStep.class);
|
||||
classes.add(ExternalAudioAssetEditStep.class);
|
||||
classes.add(ExternalVideoAssetEditStep.class);
|
||||
classes.add(FileAssetEditStep.class);
|
||||
classes.add(ImageEditStep.class);
|
||||
classes.add(LegalMetadataEditStep.class);
|
||||
classes.add(OrganizationEditStep.class);
|
||||
classes.add(PersonEditStep.class);
|
||||
classes.add(PostalAddressEditStep.class);
|
||||
classes.add(SideNoteEditStep.class);
|
||||
classes.add(VideoAssetEditStep.class);
|
||||
|
||||
return classes;
|
||||
}
|
||||
|
|
@ -48,8 +51,11 @@ public class CmsAssetEditSteps implements MvcAssetEditSteps {
|
|||
public Set<Class<?>> getResourceClasses() {
|
||||
final Set<Class<?>> classes = new HashSet<>();
|
||||
|
||||
classes.add(AudioAssetEditStepDownload.class);
|
||||
classes.add(FileAssetEditStepDownload.class);
|
||||
classes.add(ImageEditStepDownload.class);
|
||||
classes.add(SideNoteEditStepResources.class);
|
||||
classes.add(VideoAssetEditStepDownload.class);
|
||||
|
||||
return classes;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class FileAssetEditStepModel {
|
|||
private String mimeType;
|
||||
|
||||
private long size;
|
||||
|
||||
|
||||
private String sizeLabel;
|
||||
|
||||
public Map<String, String> getDescriptionValues() {
|
||||
|
|
@ -90,13 +90,17 @@ public class FileAssetEditStepModel {
|
|||
protected void setSize(final long size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
public String getSizeLabel() {
|
||||
return sizeLabel;
|
||||
}
|
||||
|
||||
|
||||
protected void setSizeLabel(final String sizeLabel) {
|
||||
this.sizeLabel = sizeLabel;
|
||||
}
|
||||
|
||||
public boolean isDataAvailable() {
|
||||
return fileName != null && size > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -135,4 +135,8 @@ public class ImageEditStepModel {
|
|||
return LegalMetadata.class.getName();
|
||||
}
|
||||
|
||||
public boolean isDataAvailable() {
|
||||
return fileName != null && size > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -36,8 +36,8 @@ import javax.inject.Named;
|
|||
@RequestScoped
|
||||
@Named("CmsVideoAssetEditStepModel")
|
||||
public class VideoAssetEditStepModel {
|
||||
|
||||
private Map<String, String> descriptionValues;
|
||||
|
||||
private Map<String, String> descriptionValues;
|
||||
|
||||
private List<String> unusedDescriptionLocales;
|
||||
|
||||
|
|
@ -46,9 +46,9 @@ public class VideoAssetEditStepModel {
|
|||
private String mimeType;
|
||||
|
||||
private long size;
|
||||
|
||||
|
||||
private String sizeLabel;
|
||||
|
||||
|
||||
private LegalMetadata legalMetadata;
|
||||
|
||||
public Map<String, String> getDescriptionValues() {
|
||||
|
|
@ -94,11 +94,11 @@ public class VideoAssetEditStepModel {
|
|||
protected void setSize(final long size) {
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
public String getSizeLabel() {
|
||||
return sizeLabel;
|
||||
}
|
||||
|
||||
|
||||
protected void setSizeLabel(final String sizeLabel) {
|
||||
this.sizeLabel = sizeLabel;
|
||||
}
|
||||
|
|
@ -114,4 +114,9 @@ public class VideoAssetEditStepModel {
|
|||
public String getLegalMetadataType() {
|
||||
return LegalMetadata.class.getName();
|
||||
}
|
||||
|
||||
public boolean isDataAvailable() {
|
||||
return fileName != null && size > 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,69 @@
|
|||
<!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/contentsection.xhtml">
|
||||
|
||||
<ui:define name="main">
|
||||
<div class="container">
|
||||
<h1>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.createform.title']}</h1>
|
||||
|
||||
<c:forEach items="#{CmsAudioAssetCreateStep.messages.entrySet()}"
|
||||
var="message">
|
||||
<div class="alert alert-#{message.key}" role="alert">
|
||||
#{message.value}
|
||||
</div>
|
||||
</c:forEach>
|
||||
|
||||
<form action="#{mvc.basePath}/#{CmsAudioAssetCreateStep.contentSectionLabel}/assets/#{CmsAudioAssetCreateStep.folderPath}@create/#{CmsAudioAssetCreateStep.assetType}"
|
||||
method="post">
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.help']}"
|
||||
inputId="name"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.label']}"
|
||||
name="name"
|
||||
pattern="^([a-zA-Z0-9_-]*)$"
|
||||
required="true"
|
||||
value="#{CmsAudioAssetCreateStep.name}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupSelect
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.help']}"
|
||||
inputId="locale"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.label']}"
|
||||
name="locale"
|
||||
options="#{CmsAudioAssetCreateStep.availableLocales}"
|
||||
required="true"
|
||||
selectedOptions="#{[CmsAudioAssetCreateStep.initialLocale]}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.help']}"
|
||||
inputId="title"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.label']}"
|
||||
name="title"
|
||||
required="true"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupTextarea
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.audioasset.description.help']}"
|
||||
inputId="description"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.audioasset.description.label']}"
|
||||
name="description"
|
||||
/>
|
||||
|
||||
<a class="btn btn-warning"
|
||||
href="#{mvc.basePath}/#{CmsAudioAssetCreateStep.contentSectionLabel}/assetfolders/#{CmsAudioAssetCreateStep.folderPath}">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.cancel']}
|
||||
</a>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.submit']}
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</ui:define>
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,219 @@
|
|||
<!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:librecms="http://xmlns.jcp.org/jsf/composite/components/librecms"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
|
||||
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/assets/editstep.xhtml">
|
||||
|
||||
<ui:param name="stepControllerUrl"
|
||||
value="@audioasset-edit"
|
||||
/>
|
||||
<ui:param name="title"
|
||||
value="#{CmsAssetsStepsDefaultMessagesBundle.getMessage('audioasset.editstep.header', [MvcAssetEditStepModel.name])}"
|
||||
/>
|
||||
|
||||
<ui:define name="editStep">
|
||||
|
||||
<libreccm:localizedStringEditor
|
||||
addButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add_button.label']}"
|
||||
addDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.cancel']}"
|
||||
addDialogLocaleSelectHelp="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.locale.help']}"
|
||||
addDialogLocaleSelectLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.locale.label']}"
|
||||
addDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.submit']}"
|
||||
addDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.title']}"
|
||||
addDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.value.help']}"
|
||||
addDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.add.value.label']}"
|
||||
addMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit/description/add"
|
||||
editButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit_button.label']}"
|
||||
editDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit.cancel']}"
|
||||
editDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit.submit']}"
|
||||
editDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit.title']}"
|
||||
editDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit.value.help']}"
|
||||
editDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.edit.value.label']}"
|
||||
editMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit/description/edit"
|
||||
editorId="description-editor"
|
||||
hasUnusedLocales="#{!CmsAudioAssetEditStepModel.unusedDescriptionLocales.isEmpty()}"
|
||||
headingLevel="3"
|
||||
objectIdentifier="#{CmsSelectedAssetModel.assetPath}"
|
||||
readOnly="#{!MvcAssetEditStepModel.canEdit}"
|
||||
removeButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.remove_button.label']}"
|
||||
removeDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.remove.cancel']}"
|
||||
removeDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.remove.submit']}"
|
||||
removeDialogText="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.remove.text']}"
|
||||
removeDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.remove.title']}"
|
||||
removeMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit/description/remove"
|
||||
title="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.description.title']}"
|
||||
unusedLocales="#{CmsAudioAssetEditStepModel.unusedDescriptionLocales}"
|
||||
useTextarea="true"
|
||||
values="#{CmsAudioAssetEditStepModel.descriptionValues}"
|
||||
/>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.title']}</h3>
|
||||
<c:if test="#{MvcAssetEditStepModel.canEdit}">
|
||||
<div class="text-left">
|
||||
<button class="btn btn-primary"
|
||||
data-toggle="modal"
|
||||
data-target="#file-upload-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="upload" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.button.label']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="file-upload-dialog-title"
|
||||
class="modal fade"
|
||||
id="file-upload-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit/upload"
|
||||
class="modal-content"
|
||||
enctype="multipart/form-data"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="file-upload-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<bootstrap:formGroupFile
|
||||
accept=".flac, .mp3, .ogg, .wav, audio/flac, audio/mpeg, audio/MPA, audio/mpa-robust, audio/ogg, audio/wav"
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.help']}"
|
||||
inputId="fileData"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.label']}"
|
||||
name="fileData"
|
||||
required="true"
|
||||
/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-warning"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.close']}
|
||||
</button>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.upload.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsAudioAssetEditStepModel.dataAvailable}">
|
||||
<audio controls="controls"
|
||||
src="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit-download">
|
||||
</audio>
|
||||
<dl>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.name']}</dt>
|
||||
<dd>#{CmsAudioAssetEditStepModel.fileName}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.type']}</dt>
|
||||
<dd>#{CmsAudioAssetEditStepModel.mimeType}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.size']}</dt>
|
||||
<dd>#{CmsAudioAssetEditStepModel.sizeLabel}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.file.none']}</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legalmetadata.title']}</h3>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsAudioAssetEditStepModel.legalMetadata == null}">
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
<button class="btn btn-danger"
|
||||
data-toggle="modal"
|
||||
data-target="#remove-legalmetadata-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x-circle" />
|
||||
<span class="sr-only">#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.close']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="remove-legalmetadata-dialog-title"
|
||||
class="modal fade"
|
||||
id="remove-legalmetadata-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@audioasset-edit/legalmetadata/@remove"
|
||||
class="modal-content"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="remove-legalmetadata-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.message']}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.close']}
|
||||
</button>
|
||||
<button class="btn btn-danger"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.remove.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<dl>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.rightsholder']}</dt>
|
||||
<dd>#{CmsAudioAssetEditStepModel.legalMetadata.rightsHolder}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['audioasset.editstep.legelmetadata.creator']}</dt>
|
||||
<dd>#{CmsAudioAssetEditStepModel.legalMetadata.creator}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
|
@ -60,11 +60,13 @@
|
|||
<bootstrap:svgIcon icon="upload" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.upload.button.label']}</span>
|
||||
</button>
|
||||
<a class="btn btn-primary"
|
||||
href="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@fileasset-edit-download">
|
||||
<bootstrap:svgIcon icon="download" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.download.button.label']}</span>
|
||||
</a>
|
||||
<c:if test="#{CmsFileAssetEditStepModel.dataAvailable}">
|
||||
<a class="btn btn-primary"
|
||||
href="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@fileasset-edit-download">
|
||||
<bootstrap:svgIcon icon="download" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.download.button.label']}</span>
|
||||
</a>
|
||||
</c:if>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="file-upload-dialog-title"
|
||||
|
|
@ -113,20 +115,27 @@
|
|||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<dl>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.name']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.fileName}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.type']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.mimeType}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.size']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.sizeLabel}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsFileAssetEditStepModel.dataAvailable}">
|
||||
<dl>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.name']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.fileName}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.type']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.mimeType}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.size']}</dt>
|
||||
<dd>#{CmsFileAssetEditStepModel.sizeLabel}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p>#{CmsAssetsStepsDefaultMessagesBundle['fileasset.editstep.file.none']}</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</ui:define>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,73 @@
|
|||
<!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/contentsection.xhtml">
|
||||
|
||||
<ui:define name="main">
|
||||
<div class="container">
|
||||
<h1>#{CmsAssetsStepsDefaultMessagesBundle["image.createform.title"]}</h1>
|
||||
|
||||
<c:forEach items="#{CmsImageCreateStep.messages.entrySet()}"
|
||||
var="message">
|
||||
<div class="alert alert-#{message.key}" role="alert">
|
||||
#{message.value}
|
||||
</div>
|
||||
</c:forEach>
|
||||
|
||||
<form action="#{mvc.basePath}/#{CmsImageCreateStep.contentSectionLabel}/assets/#{CmsImageCreateStep.folderPath}@create/#{CmsImageCreateStep.assetType}"
|
||||
method="post">
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.help']}"
|
||||
inputId="name"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.label']}"
|
||||
name="name"
|
||||
pattern="^([a-zA-Z0-9_-]*)$"
|
||||
required="true"
|
||||
value="#{CmsImageCreateStep.name}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupSelect
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.help']}"
|
||||
inputId="locale"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.label']}"
|
||||
name="locale"
|
||||
options="#{CmsImageCreateStep.availableLocales}"
|
||||
required="true"
|
||||
selectedOptions="#{[CmsImageCreateStep.initialLocale]}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.help']}"
|
||||
inputId="title"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.label']}"
|
||||
name="title"
|
||||
required="true"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupTextarea
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.image.description.help']}"
|
||||
inputId="description"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.image.description.label']}"
|
||||
name="description"
|
||||
/>
|
||||
|
||||
<a class="btn btn-warning"
|
||||
href="#{mvc.basePath}/#{CmsImageCreateStep.contentSectionLabel}/assetfolders/#{CmsImageCreateStep.folderPath}">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.cancel']}
|
||||
</a>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.submit']}
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
||||
|
|
@ -0,0 +1,222 @@
|
|||
<!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:librecms="http://xmlns.jcp.org/jsf/composite/components/librecms"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
|
||||
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/assets/editstep.xhtml">
|
||||
|
||||
<ui:param name="stepControllerUrl"
|
||||
value="@image-edit"
|
||||
/>
|
||||
<ui:param name="title"
|
||||
value="#{CmsAssetsStepsDefaultMessagesBundle.getMessage('image.editstep.header', [MvcAssetEditStepModel.name])}"
|
||||
/>
|
||||
|
||||
<ui:define name="editStep">
|
||||
|
||||
<libreccm:localizedStringEditor
|
||||
addButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add_button.label']}"
|
||||
addDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.cancel']}"
|
||||
addDialogLocaleSelectHelp="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.locale.help']}"
|
||||
addDialogLocaleSelectLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.locale.label']}"
|
||||
addDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.submit']}"
|
||||
addDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.title']}"
|
||||
addDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.value.help']}"
|
||||
addDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.add.value.label']}"
|
||||
addMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit/description/add"
|
||||
editButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit_button.label']}"
|
||||
editDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit.cancel']}"
|
||||
editDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit.submit']}"
|
||||
editDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit.title']}"
|
||||
editDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit.value.help']}"
|
||||
editDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.edit.value.label']}"
|
||||
editMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit/description/edit"
|
||||
editorId="description-editor"
|
||||
hasUnusedLocales="#{!CmsImageEditStepModel.unusedDescriptionLocales.isEmpty()}"
|
||||
headingLevel="3"
|
||||
objectIdentifier="#{CmsSelectedAssetModel.assetPath}"
|
||||
readOnly="#{!MvcAssetEditStepModel.canEdit}"
|
||||
removeButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.remove_button.label']}"
|
||||
removeDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.remove.cancel']}"
|
||||
removeDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.remove.submit']}"
|
||||
removeDialogText="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.remove.text']}"
|
||||
removeDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.remove.title']}"
|
||||
removeMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit/description/remove"
|
||||
title="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.description.title']}"
|
||||
unusedLocales="#{CmsImageEditStepModel.unusedDescriptionLocales}"
|
||||
useTextarea="true"
|
||||
values="#{CmsImageEditStepModel.descriptionValues}"
|
||||
/>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.title']}</h3>
|
||||
<c:if test="#{MvcAssetEditStepModel.canEdit}">
|
||||
<div class="text-left">
|
||||
<button class="btn btn-primary"
|
||||
data-toggle="modal"
|
||||
data-target="#file-upload-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="upload" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.button.label']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="file-upload-dialog-title"
|
||||
class="modal fade"
|
||||
id="file-upload-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit/upload"
|
||||
class="modal-content"
|
||||
enctype="multipart/form-data"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="file-upload-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<bootstrap:formGroupFile
|
||||
accept=".gif, .jpg, .jpeg, .png, .webp, image/gif, image/jpeg, image/png, image/webp"
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.help']}"
|
||||
inputId="fileData"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.label']}"
|
||||
name="fileData"
|
||||
required="true"
|
||||
/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-warning"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.close']}
|
||||
</button>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.upload.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsImageEditStepModel.dataAvailable}">
|
||||
<figure>
|
||||
<img alt="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.preview.alt']}"
|
||||
src="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit-download?width=320"
|
||||
width="320" />
|
||||
<figcaption>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.preview.caption']}</figcaption>
|
||||
</figure>
|
||||
<dl>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.name']}</dt>
|
||||
<dd>#{CmsImageEditStepModel.fileName}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.type']}</dt>
|
||||
<dd>#{CmsImageEditStepModel.mimeType}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.size']}</dt>
|
||||
<dd>#{CmsImageEditStepModel.sizeLabel}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.file.none']}</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legalmetadata.title']}</h3>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsImageEditStepModel.legalMetadata == null}">
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
<button class="btn btn-danger"
|
||||
data-toggle="modal"
|
||||
data-target="#remove-legalmetadata-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x-circle" />
|
||||
<span class="sr-only">#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.close']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="remove-legalmetadata-dialog-title"
|
||||
class="modal fade"
|
||||
id="remove-legalmetadata-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@image-edit/legalmetadata/@remove"
|
||||
class="modal-content"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="remove-legalmetadata-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.message']}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.close']}
|
||||
</button>
|
||||
<button class="btn btn-danger"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.remove.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<dl>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.rightsholder']}</dt>
|
||||
<dd>#{CmsImageEditStepModel.legalMetadata.rightsHolder}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['image.editstep.legelmetadata.creator']}</dt>
|
||||
<dd>#{CmsImageEditStepModel.legalMetadata.creator}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
<!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/contentsection.xhtml">
|
||||
|
||||
<ui:define name="main">
|
||||
<div class="container">
|
||||
<h1>#{CmsAssetsStepsDefaultMessagesBundle["videoasset.createform.title"]}</h1>
|
||||
|
||||
<c:forEach items="#{CmsVideoAssetCreateStep.messages.entrySet()}"
|
||||
var="message">
|
||||
<div class="alert alert-#{message.key}" role="alert">
|
||||
#{message.value}
|
||||
</div>
|
||||
</c:forEach>
|
||||
|
||||
<form action="#{mvc.basePath}/#{CmsVideoAssetCreateStep.contentSectionLabel}/assets/#{CmsVideoAssetCreateStep.folderPath}@create/#{CmsVideoAssetCreateStep.assetType}"
|
||||
method="post">
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.help']}"
|
||||
inputId="name"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.name.label']}"
|
||||
name="name"
|
||||
pattern="^([a-zA-Z0-9_-]*)$"
|
||||
required="true"
|
||||
value="#{CmsVideoAssetCreateStep.name}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupSelect
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.help']}"
|
||||
inputId="locale"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.initial_locale.label']}"
|
||||
name="locale"
|
||||
options="#{CmsVideoAssetCreateStep.availableLocales}"
|
||||
required="true"
|
||||
selectedOptions="#{[CmsVideoAssetCreateStep.initialLocale]}"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupText
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.help']}"
|
||||
inputId="title"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.title.label']}"
|
||||
name="title"
|
||||
required="true"
|
||||
/>
|
||||
|
||||
<bootstrap:formGroupTextarea
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['createform.videoasset.description.help']}"
|
||||
inputId="description"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['createform.videoasset.description.label']}"
|
||||
name="description"
|
||||
/>
|
||||
|
||||
<a class="btn btn-warning"
|
||||
href="#{mvc.basePath}/#{CmsVideoAssetCreateStep.contentSectionLabel}/assetfolders/#{CmsVideoAssetCreateStep.folderPath}">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.cancel']}
|
||||
</a>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['createform.submit']}
|
||||
</button>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
||||
|
|
@ -0,0 +1,221 @@
|
|||
<!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:librecms="http://xmlns.jcp.org/jsf/composite/components/librecms"
|
||||
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
|
||||
|
||||
<ui:composition template="/WEB-INF/views/org/librecms/ui/contentsection/assets/editstep.xhtml">
|
||||
|
||||
<ui:param name="stepControllerUrl"
|
||||
value="@videoasset-edit"
|
||||
/>
|
||||
<ui:param name="title"
|
||||
value="#{CmsAssetsStepsDefaultMessagesBundle.getMessage('videoasset.editstep.header', [MvcAssetEditStepModel.name])}"
|
||||
/>
|
||||
|
||||
<ui:define name="editStep">
|
||||
|
||||
<libreccm:localizedStringEditor
|
||||
addButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add_button.label']}"
|
||||
addDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.cancel']}"
|
||||
addDialogLocaleSelectHelp="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.locale.help']}"
|
||||
addDialogLocaleSelectLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.locale.label']}"
|
||||
addDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.submit']}"
|
||||
addDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.title']}"
|
||||
addDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.value.help']}"
|
||||
addDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.add.value.label']}"
|
||||
addMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit/description/add"
|
||||
editButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit_button.label']}"
|
||||
editDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit.cancel']}"
|
||||
editDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit.submit']}"
|
||||
editDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit.title']}"
|
||||
editDialogValueHelp="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit.value.help']}"
|
||||
editDialogValueLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.edit.value.label']}"
|
||||
editMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit/description/edit"
|
||||
editorId="description-editor"
|
||||
hasUnusedLocales="#{!CmsVideoAssetEditStepModel.unusedDescriptionLocales.isEmpty()}"
|
||||
headingLevel="3"
|
||||
objectIdentifier="#{CmsSelectedAssetModel.assetPath}"
|
||||
readOnly="#{!MvcAssetEditStepModel.canEdit}"
|
||||
removeButtonLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.remove_button.label']}"
|
||||
removeDialogCancelLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.remove.cancel']}"
|
||||
removeDialogSubmitLabel="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.remove.submit']}"
|
||||
removeDialogText="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.remove.text']}"
|
||||
removeDialogTitle="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.remove.title']}"
|
||||
removeMethod="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit/description/remove"
|
||||
title="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.description.title']}"
|
||||
unusedLocales="#{CmsVideoAssetEditStepModel.unusedDescriptionLocales}"
|
||||
useTextarea="true"
|
||||
values="#{CmsVideoAssetEditStepModel.descriptionValues}"
|
||||
/>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.title']}</h3>
|
||||
<c:if test="#{MvcAssetEditStepModel.canEdit}">
|
||||
<div class="text-left">
|
||||
<button class="btn btn-primary"
|
||||
data-toggle="modal"
|
||||
data-target="#file-upload-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="upload" />
|
||||
<span>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.button.label']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="file-upload-dialog-title"
|
||||
class="modal fade"
|
||||
id="file-upload-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit/upload"
|
||||
class="modal-content"
|
||||
enctype="multipart/form-data"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="file-upload-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<bootstrap:formGroupFile
|
||||
accept=".mp4, .webm, video/mp4, video/webm"
|
||||
help="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.help']}"
|
||||
inputId="fileData"
|
||||
label="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.label']}"
|
||||
name="fileData"
|
||||
required="true"
|
||||
/>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-warning"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.close']}
|
||||
</button>
|
||||
<button class="btn btn-success"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.upload.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</c:if>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsVideoAssetEditStepModel.dataAvailable}">
|
||||
<video controls="controls"
|
||||
src="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit-download"
|
||||
width="320">
|
||||
</video>
|
||||
<dl>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.name']}</dt>
|
||||
<dd>#{CmsVideoAssetEditStepModel.fileName}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.type']}</dt>
|
||||
<dd>#{CmsVideoAssetEditStepModel.mimeType}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.size']}</dt>
|
||||
<dd>#{CmsVideoAssetEditStepModel.sizeLabel}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<p>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.file.none']}</p>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<h3>#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legalmetadata.title']}</h3>
|
||||
<c:choose>
|
||||
<c:when test="#{CmsVideoAssetEditStepModel.legalMetadata == null}">
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="text-right">
|
||||
<librecms:assetPickerButton
|
||||
assetPickerId="legalmetadata-picker"
|
||||
buttonText="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legalmetadata.set']}"
|
||||
/>
|
||||
<button class="btn btn-danger"
|
||||
data-toggle="modal"
|
||||
data-target="#remove-legalmetadata-dialog"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x-circle" />
|
||||
<span class="sr-only">#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.close']}</span>
|
||||
</button>
|
||||
</div>
|
||||
<div aria-hidden="true"
|
||||
aria-labelledby="remove-legalmetadata-dialog-title"
|
||||
class="modal fade"
|
||||
id="remove-legalmetadata-dialog"
|
||||
tabindex="-1">
|
||||
<div class="modal-dialog">
|
||||
<form action="#{mvc.basePath}/#{ContentSectionModel.sectionName}/assets/#{CmsSelectedAssetModel.assetPath}/@videoasset-edit/legalmetadata/@remove"
|
||||
class="modal-content"
|
||||
method="post">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title"
|
||||
id="remove-legalmetadata-dialog-title">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.title']}
|
||||
</h4>
|
||||
<button
|
||||
aria-label="#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.close']}"
|
||||
class="close"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
<bootstrap:svgIcon icon="x" />
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.message']}
|
||||
</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button class="btn btn-secondary"
|
||||
data-dismiss="modal"
|
||||
type="button">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.close']}
|
||||
</button>
|
||||
<button class="btn btn-danger"
|
||||
type="submit">
|
||||
#{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.remove.submit']}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<dl>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.rightsholder']}</dt>
|
||||
<dd>#{CmsVideoAssetEditStepModel.legalMetadata.rightsHolder}</dd>
|
||||
</div>
|
||||
<div>
|
||||
<dt> #{CmsAssetsStepsDefaultMessagesBundle['videoasset.editstep.legelmetadata.creator']}</dt>
|
||||
<dd>#{CmsVideoAssetEditStepModel.legalMetadata.creator}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</ui:define>
|
||||
|
||||
</ui:composition>
|
||||
</html>
|
||||
|
||||
|
|
@ -400,3 +400,135 @@ audioasset.editstep.label=Edit audio asset
|
|||
audioasset.editstep.description=Edit audio asset
|
||||
videoasset.editstep.description=Edit video asset
|
||||
videoasset.editstep.label=Edit video asset
|
||||
audioasset.createform.title=Create new audio asset
|
||||
createform.audioasset.description.help=A short description of audio resource provided by this asset.
|
||||
createform.audioasset.description.label=Description
|
||||
image.createform.title=Create new image
|
||||
createform.image.description.help=A short description of the image.
|
||||
createform.image.description.label=Description
|
||||
videoasset.createform.title=Create new video asset
|
||||
createform.videoasset.description.help=A short description of the video.
|
||||
createform.videoasset.description.label=Description
|
||||
fileasset.editstep.file.none=No file has been added yet.
|
||||
audioasset.editstep.header=Edit audio asset {0}
|
||||
audioasset.editstep.description.add_button.label=Add localized description
|
||||
audioasset.editstep.description.add.cancel=Cancel
|
||||
audioasset.editstep.description.add.locale.help=The locale of the localized description.
|
||||
audioasset.editstep.description.add.locale.label=Locale
|
||||
audioasset.editstep.description.add.submit=Add localized description
|
||||
audioasset.editstep.description.add.title=Add localized description
|
||||
audioasset.editstep.description.add.value.help=The localized description text.
|
||||
audioasset.editstep.description.add.value.label=Description
|
||||
audioasset.editstep.description.edit_button.label=Edit localized description
|
||||
audioasset.editstep.description.edit.cancel=Cancel
|
||||
audioasset.editstep.description.edit.submit=Save
|
||||
audioasset.editstep.description.edit.title=Edit localized description
|
||||
audioasset.editstep.description.edit.value.help=The localized description text.
|
||||
audioasset.editstep.description.edit.value.label=Description
|
||||
audioasset.editstep.description.remove_button.label=Remove localized description
|
||||
audioasset.editstep.description.remove.cancel=Cancel
|
||||
audioasset.editstep.description.remove.submit=Remove localized description
|
||||
audioasset.editstep.description.remove.text=Are you sure to remove the following localized description:
|
||||
audioasset.editstep.description.remove.title=Remove localized description
|
||||
audioasset.editstep.description.title=Description
|
||||
audioasset.editstep.file.title=Audio File
|
||||
audioasset.editstep.file.upload.button.label=Upload file
|
||||
audioasset.editstep.file.upload.title=Upload audio file
|
||||
audioasset.editstep.file.upload.close=Cancel
|
||||
audioasset.editstep.file.upload.help=The audio file to upload. Supported formats are: FLAC, MP3, OGG and WAV.
|
||||
audioasset.editstep.file.upload.label=Audio File
|
||||
audioasset.editstep.file.upload.submit=Upload file
|
||||
audioasset.editstep.file.name=File Name
|
||||
audioasset.editstep.file.type=File Type
|
||||
audioasset.editstep.file.size=File Size
|
||||
audioasset.editstep.file.none=No file uploaded yet.
|
||||
audioasset.editstep.legalmetadata.set=Set legal metadata
|
||||
audioasset.editstep.legelmetadata.remove.close=Cancel
|
||||
audioasset.editstep.legelmetadata.remove.message=Are you sure to remove the legal metadata?
|
||||
audioasset.editstep.legelmetadata.remove.submit=Remove legal metadata
|
||||
audioasset.editstep.legelmetadata.rightsholder=Rights Holder
|
||||
audioasset.editstep.legelmetadata.creator=Creator
|
||||
audioasset.editstep.legalmetadata.title=Legal Metadata
|
||||
audioasset.editstep.legelmetadata.remove.title=Remove legal metadata
|
||||
image.editstep.header=Edit image {0}
|
||||
image.editstep.description.add_button.label=Add localized description
|
||||
image.editstep.description.add.cancel=Cancel
|
||||
image.editstep.description.add.locale.help=The locale of the localized description.
|
||||
image.editstep.description.add.locale.label=Locale
|
||||
image.editstep.description.add.submit=Add localized description
|
||||
image.editstep.description.add.title=Add localized description
|
||||
image.editstep.description.add.value.help=The localized description text.
|
||||
image.editstep.description.add.value.label=Description
|
||||
image.editstep.description.edit_button.label=Edit localized description
|
||||
image.editstep.description.edit.cancel=Cancel
|
||||
image.editstep.description.edit.submit=Save
|
||||
image.editstep.description.edit.title=Edit localized description
|
||||
image.editstep.description.edit.value.help=The localized description text.
|
||||
image.editstep.description.edit.value.label=Description
|
||||
image.editstep.description.remove_button.label=Remove localized description
|
||||
image.editstep.description.remove.cancel=Cancel
|
||||
image.editstep.description.remove.submit=Remove localized description
|
||||
image.editstep.description.remove.text=Are you sure to remove the following localized description:
|
||||
image.editstep.description.remove.title=Remove localized description
|
||||
image.editstep.description.title=Description
|
||||
image.editstep.file.title=Image File
|
||||
image.editstep.file.upload.button.label=Upload image
|
||||
image.editstep.file.upload.title=Upload image
|
||||
image.editstep.file.upload.close=Cancel
|
||||
image.editstep.file.upload.help=The image file to upload. Supported formats are: GIF, JPEG, PNG und WebP
|
||||
image.editstep.file.upload.label=Image
|
||||
image.editstep.file.upload.submit=Upload image
|
||||
image.editstep.preview.alt=Unable to show a preview of the image.
|
||||
image.editstep.preview.caption=Preview of the image.
|
||||
image.editstep.file.name=File Name
|
||||
image.editstep.file.type=File Type
|
||||
image.editstep.file.size=File Size
|
||||
image.editstep.file.none=No image uploaded yet.
|
||||
image.editstep.legalmetadata.title=Legal Metadata
|
||||
image.editstep.legalmetadata.set=Set legal metadata
|
||||
image.editstep.legelmetadata.remove.close=Cancel
|
||||
image.editstep.legelmetadata.remove.title=Remove legal metadata
|
||||
image.editstep.legelmetadata.remove.message=Are you sure to remove the legal metadata?
|
||||
image.editstep.legelmetadata.remove.submit=Remove legal metadata
|
||||
image.editstep.legelmetadata.rightsholder=Rights Holder
|
||||
image.editstep.legelmetadata.creator=Creator
|
||||
videoasset.editstep.header=Edit Video {0}
|
||||
videoasset.editstep.description.add_button.label=Add localized description
|
||||
videoasset.editstep.description.add.cancel=Cancel
|
||||
videoasset.editstep.description.add.locale.help=The locale of the localized description.
|
||||
videoasset.editstep.description.add.locale.label=Locale
|
||||
videoasset.editstep.description.add.submit=Add localized description
|
||||
videoasset.editstep.description.add.title=Add localized description
|
||||
videoasset.editstep.description.add.value.help=The localized description text.
|
||||
videoasset.editstep.description.add.value.label=Description
|
||||
videoasset.editstep.description.edit_button.label=Edit localized description
|
||||
videoasset.editstep.description.edit.cancel=Cancel
|
||||
videoasset.editstep.description.edit.submit=Save
|
||||
videoasset.editstep.description.edit.title=Edit localized description
|
||||
videoasset.editstep.description.edit.value.help=The localized description text.
|
||||
videoasset.editstep.description.edit.value.label=Description
|
||||
videoasset.editstep.description.remove_button.label=Remove localized description
|
||||
videoasset.editstep.description.remove.cancel=Cancel
|
||||
videoasset.editstep.description.remove.submit=Remove localized description
|
||||
videoasset.editstep.description.remove.text=Are you sure to remove the following localized description:
|
||||
videoasset.editstep.description.remove.title=Remove localized description
|
||||
videoasset.editstep.description.title=Description
|
||||
videoasset.editstep.file.title=Video
|
||||
videoasset.editstep.file.upload.button.label=Upload Video
|
||||
videoasset.editstep.file.upload.title=Upload Video
|
||||
videoasset.editstep.file.upload.close=Cancel
|
||||
videoasset.editstep.file.upload.help=The video file to upload. Supported formats are MP4 and WebM.
|
||||
videoasset.editstep.file.upload.label=Video
|
||||
videoasset.editstep.file.upload.submit=Upload Video
|
||||
videoasset.editstep.file.name=File Name
|
||||
videoasset.editstep.file.type=File Type
|
||||
videoasset.editstep.file.size=File Size
|
||||
videoasset.editstep.file.none=No vided uploaded yet.
|
||||
videoasset.editstep.legalmetadata.title=Legal Metadata
|
||||
videoasset.editstep.legalmetadata.set=Set legal metadata
|
||||
videoasset.editstep.legelmetadata.remove.close=Cancel
|
||||
videoasset.editstep.legelmetadata.remove.title=Remove legal metadata
|
||||
videoasset.editstep.legelmetadata.remove.message=Are you sure to remove the legal metadata?
|
||||
videoasset.editstep.legelmetadata.remove.submit=Remove legal metadata
|
||||
videoasset.editstep.legelmetadata.rightsholder=Rights Holder
|
||||
videoasset.editstep.legelmetadata.creator=Creator
|
||||
|
|
|
|||
|
|
@ -333,7 +333,7 @@ externalaudioasset.editstep.legelmetadata.remove.close=Abbrechen
|
|||
externalaudioasset.editstep.legelmetadata.remove.title=Rechtliche Informationen entfernen
|
||||
externalaudioasset.editstep.legelmetadata.remove.message=Sind Sie sicher, dass Sie die rechtlichen Informationen entfernen wollen?
|
||||
externalaudioasset.editstep.legelmetadata.remove.submit=Rechtliche Informationen entfernen
|
||||
externalaudioasset.editstep.legelmetadata.rightsholder=Rechte-Inhaber
|
||||
externalaudioasset.editstep.legelmetadata.rightsholder=Rechteinhaber
|
||||
externalaudioasset.editstep.legelmetadata.creator=K\u00fcnstler
|
||||
externalvideoasset.label=Externes Video
|
||||
externalvideoasset.description=Eine externe Audio-Datei, z.B. ein Podcast.
|
||||
|
|
@ -400,3 +400,135 @@ audioasset.editstep.label=Audio Asset bearbeiten
|
|||
audioasset.editstep.description=Audio Asset bearbeiten
|
||||
videoasset.editstep.description=Video Asset bearbeiten
|
||||
videoasset.editstep.label=Video Asset bearbeiten
|
||||
audioasset.createform.title=Neues Audio-Asset anlegen
|
||||
createform.audioasset.description.help=Eine kurze beschreibung der Audio-Resource, die durch dieses bereitgestellt wird.
|
||||
createform.audioasset.description.label=Beschreibung
|
||||
image.createform.title=Neues Bild anlegen
|
||||
createform.image.description.help=Eine kurze Beschreibung des Bildes.
|
||||
createform.image.description.label=Beschreibung
|
||||
videoasset.createform.title=Neues Video anlegen
|
||||
createform.videoasset.description.help=Eine kurze Beschreibung des Videos.
|
||||
createform.videoasset.description.label=Beschreibung
|
||||
fileasset.editstep.file.none=Es wurde noch keine Datei hochgeladen.
|
||||
audioasset.editstep.header=Audio asset {0} bearbeiten
|
||||
audioasset.editstep.description.add_button.label=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
audioasset.editstep.description.add.cancel=Abbrechen
|
||||
audioasset.editstep.description.add.locale.help=Die Sprache der lokaliserten Beschreibung.
|
||||
audioasset.editstep.description.add.locale.label=Sprache
|
||||
audioasset.editstep.description.add.submit=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
audioasset.editstep.description.add.title=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
audioasset.editstep.description.add.value.help=Der Text der lokalisierten Beschreibung.
|
||||
audioasset.editstep.description.add.value.label=Beschreibung
|
||||
audioasset.editstep.description.edit_button.label=Lokaliserte Beschreibung bearbeiten
|
||||
audioasset.editstep.description.edit.cancel=Abbrechen
|
||||
audioasset.editstep.description.edit.submit=Speichern
|
||||
audioasset.editstep.description.edit.title=Lokaliserte Beschreibung bearbeiten
|
||||
audioasset.editstep.description.edit.value.help=Der Text der lokalisierten Beschreibung.
|
||||
audioasset.editstep.description.edit.value.label=Beschreibung
|
||||
audioasset.editstep.description.remove_button.label=Lokaliserte Beschreibung entfernen
|
||||
audioasset.editstep.description.remove.cancel=Abbrechen
|
||||
audioasset.editstep.description.remove.submit=Lokaliserte Beschreibung entfernen
|
||||
audioasset.editstep.description.remove.text=Sind Sie sicher, dass Sie die folgende lokalisierte Beschreibung entfernen wollen:
|
||||
audioasset.editstep.description.remove.title=Lokaliserte Beschreibung entfernen
|
||||
audioasset.editstep.description.title=Beschreibung
|
||||
audioasset.editstep.file.title=Audiodatei
|
||||
audioasset.editstep.file.upload.button.label=Datei hochladen
|
||||
audioasset.editstep.file.upload.title=Audiodatei hochladen
|
||||
audioasset.editstep.file.upload.close=Abbrechen
|
||||
audioasset.editstep.file.upload.help=Die Audiodatei, die hochgeladen werden soll. Folgende Formate werden unterst\u00fctzt: FLAC, MP3, OGG und WAV.
|
||||
audioasset.editstep.file.upload.label=Audiodatei
|
||||
audioasset.editstep.file.upload.submit=Datei hochladen
|
||||
audioasset.editstep.file.name=Dateiname
|
||||
audioasset.editstep.file.type=Dateityp
|
||||
audioasset.editstep.file.size=Dateigr\u00f6\u00dfe
|
||||
audioasset.editstep.file.none=Es wurde noch keine Datei hochgeladen.
|
||||
audioasset.editstep.legalmetadata.set=Rechtliche Informationen setzen
|
||||
audioasset.editstep.legelmetadata.remove.close=Cancel
|
||||
audioasset.editstep.legelmetadata.remove.message=Sind Sie sicher, dass Sie die rechtlichen Informationen entfernen wollen?
|
||||
audioasset.editstep.legelmetadata.remove.submit=Rechtliche Informationen entfernen
|
||||
audioasset.editstep.legelmetadata.rightsholder=Rechteinhaber
|
||||
audioasset.editstep.legelmetadata.creator=K\u00fcnstler
|
||||
audioasset.editstep.legalmetadata.title=Rechtliche Informationen
|
||||
audioasset.editstep.legelmetadata.remove.title=Rechtliche Informationen entfernen
|
||||
image.editstep.header=Bild {0} bearbeiten
|
||||
image.editstep.description.add_button.label=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
image.editstep.description.add.cancel=Abbrechen
|
||||
image.editstep.description.add.locale.help=Die Sprache der lokaliserten Beschreibung.
|
||||
image.editstep.description.add.locale.label=Sprache
|
||||
image.editstep.description.add.submit=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
image.editstep.description.add.title=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
image.editstep.description.add.value.help=Der Text der lokalisierten Beschreibung.
|
||||
image.editstep.description.add.value.label=Beschreibung
|
||||
image.editstep.description.edit_button.label=Lokaliserte Beschreibung bearbeiten
|
||||
image.editstep.description.edit.cancel=Abbrechen
|
||||
image.editstep.description.edit.submit=Speichern
|
||||
image.editstep.description.edit.title=Lokaliserte Beschreibung bearbeiten
|
||||
image.editstep.description.edit.value.help=Der Text der lokalisierten Beschreibung.
|
||||
image.editstep.description.edit.value.label=Beschreibung
|
||||
image.editstep.description.remove_button.label=Lokaliserte Beschreibung entfernen
|
||||
image.editstep.description.remove.cancel=Abbrechen
|
||||
image.editstep.description.remove.submit=Lokaliserte Beschreibung entfernen
|
||||
image.editstep.description.remove.text=Sind Sie sicher, dass Sie die folgende lokalisierte Beschreibung entfernen wollen:
|
||||
image.editstep.description.remove.title=Lokaliserte Beschreibung entfernen
|
||||
image.editstep.description.title=Beschreibung
|
||||
image.editstep.file.title=Bildatei
|
||||
image.editstep.file.upload.button.label=Bild hochladen
|
||||
image.editstep.file.upload.title=Bild hochladen
|
||||
image.editstep.file.upload.close=Abbrechen
|
||||
image.editstep.file.upload.help=Die hochzuladene Bilddatei. Folgende Formate werden akzeptiert: GIF, JPEG, PNG und WebP
|
||||
image.editstep.file.upload.label=Bild
|
||||
image.editstep.file.upload.submit=Bild hochladen
|
||||
image.editstep.preview.alt=Die Vorschau des Bildes kann leider nicht angezeigt werden.
|
||||
image.editstep.preview.caption=Vorschau des Bildes
|
||||
image.editstep.file.name=Dateiname
|
||||
image.editstep.file.type=Dateityp
|
||||
image.editstep.file.size=Dateigr\u00f6\u00dfe
|
||||
image.editstep.file.none=Es wurde noch kein Bild hochgeladen.
|
||||
image.editstep.legalmetadata.title=Rechtliche Informationen
|
||||
image.editstep.legalmetadata.set=Rechtliche Informationen setzen
|
||||
image.editstep.legelmetadata.remove.close=Abbrechen
|
||||
image.editstep.legelmetadata.remove.title=Rechtliche Informationen entfernen
|
||||
image.editstep.legelmetadata.remove.message=Sind Sie sicher, dass Sie die rechtlichen Informationen entfernen wollen?
|
||||
image.editstep.legelmetadata.remove.submit=Rechtliche Informationen entfernen
|
||||
image.editstep.legelmetadata.rightsholder=Rechteinhaber
|
||||
image.editstep.legelmetadata.creator=K\u00fcnstler
|
||||
videoasset.editstep.header=Video {0} bearbeiten
|
||||
videoasset.editstep.description.add_button.label=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
videoasset.editstep.description.add.cancel=Abbrechen
|
||||
videoasset.editstep.description.add.locale.help=Die Sprache der lokaliserten Beschreibung.
|
||||
videoasset.editstep.description.add.locale.label=Sprache
|
||||
videoasset.editstep.description.add.submit=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
videoasset.editstep.description.add.title=Lokalisierte Beschreibung hinzuf\u00fcgen
|
||||
videoasset.editstep.description.add.value.help=Der Text der lokalisierten Beschreibung.
|
||||
videoasset.editstep.description.add.value.label=Beschreibung
|
||||
videoasset.editstep.description.edit_button.label=Lokaliserte Beschreibung bearbeiten
|
||||
videoasset.editstep.description.edit.cancel=Abbrechen
|
||||
videoasset.editstep.description.edit.submit=Speichern
|
||||
videoasset.editstep.description.edit.title=Lokaliserte Beschreibung bearbeiten
|
||||
videoasset.editstep.description.edit.value.help=Der Text der lokalisierten Beschreibung.
|
||||
videoasset.editstep.description.edit.value.label=Beschreibung
|
||||
videoasset.editstep.description.remove_button.label=Lokaliserte Beschreibung entfernen
|
||||
videoasset.editstep.description.remove.cancel=Abbrechen
|
||||
videoasset.editstep.description.remove.submit=Lokaliserte Beschreibung entfernen
|
||||
videoasset.editstep.description.remove.text=Sind Sie sicher, dass Sie die folgende lokalisierte Beschreibung entfernen wollen:
|
||||
videoasset.editstep.description.remove.title=Lokaliserte Beschreibung entfernen
|
||||
videoasset.editstep.description.title=Beschreibung
|
||||
videoasset.editstep.file.title=Video
|
||||
videoasset.editstep.file.upload.button.label=Video hochladen
|
||||
videoasset.editstep.file.upload.title=Video hochladen
|
||||
videoasset.editstep.file.upload.close=Abbrechen
|
||||
videoasset.editstep.file.upload.help=Die hochzuladende Videodatei. Unterst\u00fctzt werden Videos in den Formaten MP4 und WebM.
|
||||
videoasset.editstep.file.upload.label=Video
|
||||
videoasset.editstep.file.upload.submit=Video hochladen
|
||||
videoasset.editstep.file.name=Dateiname
|
||||
videoasset.editstep.file.type=Dateityp
|
||||
videoasset.editstep.file.size=Dateigr\u00f6\u00dfe
|
||||
videoasset.editstep.file.none=Es wurde noch kein Video hochgeladen.
|
||||
videoasset.editstep.legalmetadata.title=Rechtliche Informationen
|
||||
videoasset.editstep.legalmetadata.set=Rechtliche Informationen setzen
|
||||
videoasset.editstep.legelmetadata.remove.close=Abbrechen
|
||||
videoasset.editstep.legelmetadata.remove.title=Rechtliche Informationen entfernen
|
||||
videoasset.editstep.legelmetadata.remove.message=Sind Sie sicher, dass Sie die rechtlichen Informationen entfernen wollen?
|
||||
videoasset.editstep.legelmetadata.remove.submit=Rechtliche Informationen entfernen
|
||||
videoasset.editstep.legelmetadata.rightsholder=Rechteinhaber
|
||||
videoasset.editstep.legelmetadata.creator=K\u00fcnstler
|
||||
|
|
|
|||
Loading…
Reference in New Issue