Improve seda1 message templates

parent 928a42ff
......@@ -19,6 +19,7 @@
<?merge .id ?>
</dd>
</dl>
<!-- Archive information -->
<div data-translate-catalog="recordsManagement/messages">
<dl class="dl-horizontal">
<?merge .archivalProfile.bool() ?>
......@@ -49,13 +50,12 @@
</dd>
</dl>
</div>
<?hinclude seda/message/contentDescription.html ?>
<?hinclude seda/message/managementMetadata.html ?>
<?merge .document /seda/message/document.html?>
<?hinclude seda/message/managementMetadata.html ?>
<?merge .document /seda/message/document.html ?>
<br/>
<?merge .archiveObject /seda/message/archiveObject.html ?>
<br/>
</div><!-- end panel body -->
</div> <!-- end collapse -->
</div> <!-- end panel -->
......
<br>
<div class="panel-group" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab">
......@@ -10,127 +9,41 @@
</div>
<div id="archiveObject[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne" style="height: 0px;">
<div class="panel-body">
<?merge .contentDescription.bool() ?>
<dl class="dl-horizontal" data-translate-catalog="recordsManagement/messages">
<?merge .contentDescription.originatingAgency.bool() ?>
<span>
<dt>Service Producteur</dt>
<?merge .contentDescription.originatingAgency ?>
<span>
<dd translate="no">
<?merge .identification.value ?>
&nbsp;
<?merge .name ?>
</dd>
<br/>
<?merge .contact.bool() ?>
<div>
<?merge .contact ?>
<?hinclude seda/message/contact.html ?>
</div>
</span>
</span>
</dl>
<?merge .contentDescription.bool() ?>
<dl class="dl-horizontal">
<dt>Niveau de description</dt>
<?hinclude seda/message/contentDescription.html ?>
<?merge .appraisalRule.bool() ?>
<dl class="dl-horizontal" data-translate-catalog="medona/messages">
<h4>Appraisal rule</h4>
<dt>Code</dt>
<dd translate="no">
<?merge .contentDescription.descriptionLevel.ifeq('class') ?>
<span>Classe</span>
<?merge .contentDescription.descriptionLevel.ifeq('collection') ?>
<span>Collection</span>
<?merge .contentDescription.descriptionLevel.ifeq('file') ?>
<span>Dossier</span>
<?merge .contentDescription.descriptionLevel.ifeq('fonds') ?>
<span>Fonds</span>
<?merge .contentDescription.descriptionLevel.ifeq('item') ?>
<span>Pièce</span>
<?merge .contentDescription.descriptionLevel.ifeq('recordgrp') ?>
<span>Groupe de documents</span>
<?merge .contentDescription.descriptionLevel.ifeq('series') ?>
<span>Série organique</span>
<?merge .contentDescription.descriptionLevel.ifeq('subfonds') ?>
<span>Sous-fonds</span>
<?merge .contentDescription.descriptionLevel.ifeq('subgrp') ?>
<span>Sous-groupe de documents</span>
<?merge .contentDescription.descriptionLevel.ifeq('subseries') ?>
<span>Sous-série organique</span>
<?merge .appraisalRule.code.ifeq('detruire') ?><span>Détruire</span>
<?merge .appraisalRule.code.ifeq('conserver') ?><span>Conserver</span>
</dd>
<?merge .contentDescription.filePlanPosition.bool() ?>
<span>
<dt>Position plan de classement</dt>
<?merge .contentDescription.filePlanPosition ?>
<dd translate="no">
<!?merge .value ?>
</dd>
</span>
<br/>
<?merge .contentDescription.oldestDate.bool() ?>
<dt>Date de début</dt>
<dd translate="no">
<?merge .contentDescription.oldestDate ?>
<dt>Duration</dt>
<dd>
<?merge .appraisalRule.durationNumber.bool() ?>
<span><?merge .appraisalRule.durationNumber ?></span>
<?merge .appraisalRule.durationToDisplay.bool() ?>
<span><?merge .appraisalRule.durationToDisplay ?></span>
</dd>
<?merge .contentDescription.latestDate.bool() ?>
<dt>Date de fin</dt>
<dt>Start date</dt>
<dd translate="no">
<?merge .contentDescription.latestDate ?>
<?merge .appraisalRule.startDate ?>
</dd>
<?merge .contentDescription.keyword.keywordContent.bool() ?>
<span>
<dt>Mots-clés </dt>
<?merge .contentDescription.keyword ?>
</dl>
<?merge .accessRestrictionRule.bool() ?>
<dl class="dl-horizontal"data-translate-catalog="medona/messages">
<h4>Access restrition rule</h4>
<dt>Code</dt>
<dd translate="no">
<?merge .keywordContent ?>
<?merge .accessRestrictionRule.code ?>
</dd>
</span>
<dt title="Langue du contenu des objets-données.">Langage</dt>
<?merge .contentDescription.language.array() ?>
<dt>Start date</dt>
<dd translate="no">
<?merge . ?>
<?merge .accessRestrictionRule.startDate ?>
</dd>
</dl>
<?merge .appraisalRule.code.bool() ?>
<div class="panel panel-warning">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#managementMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
Management metadata
</a>
</h4>
</div>
<div id="managementMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<dl class="dl-horizontal" data-translate-catalog="medona/messages">
<h4>Appraisal rule</h4>
<dt>Code</dt>
<dd translate="no">
<?merge .appraisalRule.code ?>
</dd>
<dt>Duration</dt>
<dd translate="no">
<?merge .appraisalRule.duration ?>
</dd>
<dt>Start date</dt>
<dd translate="no">
<?merge .appraisalRule.startDate ?>
</dd>
</dl>
<hr/>
<dl class="dl-horizontal"data-translate-catalog="medona/messages">
<h4>Access restrition rule</h4>
<dt>Code</dt>
<dd translate="no">
<?merge .accessRestrictionRule.code ?>
</dd>
<dt>Start date</dt>
<dd translate="no">
<?merge .accessRestrictionRule.startDate ?>
</dd>
</dl>
</div>
</div>
</div><!-- end management metadata -->
<?merge .document /seda/message/document.html?>
<?merge .archiveObject /seda/message/archiveObject.html ?>
</div><!-- end panel body -->
......
<?merge .contentDescription.bool() ?>
<div class="panel panel-info">
<div class="panel panel-success">
<div class="panel-heading" role="tab">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" href="#descriptiveMetadata[?merge .id ?]" aria-expanded="true" aria-controls="collapseOne" data-translate-catalog="medona/messages">
......@@ -9,36 +9,38 @@
</div>
<div id="descriptiveMetadata[?merge .id ?]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<?merge .contentDescription.originatingAgency ?>
<h4>Producteur</h4>
<?merge .contentDescription.originatingAgency.bool() ?>
<div>
<dl class="dl-horizontal">
<dt>Identifiant</dt>
<dd translate="no">
<?merge .identification.value ?>
</dd>
<dt>Nom de l'organisation</dt>
<dd translate="no">
<?merge .name ?>
</dd>
</dl>
<?merge .address.bool() ?>
<?merge .contentDescription.originatingAgency ?>
<div>
<?merge .address ?>
<?hinclude seda/message/address.html ?>
<br/>
</div>
<?merge .communication.bool() ?>
<div>
<?merge .communication $communication ?>
<?hinclude seda/message/communication.html ?>
<br/>
</div>
<?merge .contact.bool() ?>
<div>
<?merge .contact ?>
<?hinclude seda/message/contact.html ?>
<h4>Producteur</h4>
<dl class="dl-horizontal">
<dt>Identifiant</dt>
<dd translate="no">
<?merge .identification.value ?>
</dd>
<dt>Nom de l'organisation</dt>
<dd translate="no">
<?merge .name ?>
</dd>
</dl>
<?merge .address.bool() ?>
<div>
<?merge .address ?>
<?hinclude seda/message/address.html ?>
<br/>
</div>
<?merge .communication.bool() ?>
<div>
<?merge .communication $communication ?>
<?hinclude seda/message/communication.html ?>
<br/>
</div>
<?merge .contact.bool() ?>
<div>
<?merge .contact ?>
<?hinclude seda/message/contact.html ?>
</div>
</div>
</div>
......@@ -145,5 +147,4 @@
</dl>
</div>
</div>
</div>
</br>
\ No newline at end of file
</div>
\ No newline at end of file
......@@ -27,7 +27,6 @@
<?merge .appraisalRule.startDate ?>
</dd>
</dl>
<hr/>
<dl class="dl-horizontal"data-translate-catalog="medona/messages">
<h4>Access restrition rule</h4>
<dt>Code</dt>
......@@ -41,5 +40,4 @@
</dl>
</div>
</div>
</div><!-- end management metadata -->
<br>
\ No newline at end of file
</div>
\ No newline at end of file
......@@ -149,8 +149,7 @@
</div>
<?merge .bool().not() ?>
<?hinclude /seda/message/authorization.html ?>
<br/>
<?merge .object.archive /seda/message/archive.html ?>
</div>
<?merge .object.archive.bool().not() ?>
......
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