Fixes to templates and reorg

parent b9b3aed9
......@@ -49,160 +49,11 @@
</dd>
</dl>
</div>
<dl class="dl-horizontal">
<dt>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>
<?merge .contentDescription.filePlanPosition.bool() ?>
<span>
<dt>Position plan de classement</dt>
<?merge .contentDescription.filePlanPosition ?>
<dd translate="no">
<?merge .value ?>
</dd>
</span>
<?merge .contentDescription.custodialHistory.bool() ?>
<span>
<dt>Historique</dt>
<?merge .contentDescription.custodialHistory.custodialHistoryItem ?>
<dd translate="no">
<?merge .value ?>
</dd>
</span>
<?merge .contentDescription.descriptionLevel.bool() ?>
<span>
<dt>Niveau de description</dt>
<dd translate="yes">
<?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>
</dd>
</span>
<?merge .contentDescription.oldestDate.bool() ?>
<span>
<dt>Date de début</dt>
<dd translate="no">
<?merge .contentDescription.oldestDate ?>
</dd>
</span>
<?merge .contentDescription.latestDate.bool() ?>
<span>
<dt>Date de fin</dt>
<dd translate="no">
<?merge .contentDescription.latestDate ?>
</dd>
</span>
<?merge .contentDescription.keyword.bool() ?>
<span>
<dt>Mot(s) clé(s)</dt>
<?merge .contentDescription.keyword ?>
<dd translate="no">
<?merge .keywordType.bool() ?>
<i>
<?merge .keywordType.ifeq('corpname').then('Collectivité') ?>
<?merge .keywordType.ifeq('famname').then('Nom de famille') ?>
<?merge .keywordType.ifeq('geogname').then('Lieu') ?>
<?merge .keywordType.ifeq('occupation').then('Fonction') ?>
<?merge .keywordType.ifeq('name').then('Nom') ?>
<?merge .keywordType.ifeq('persname').then('Nom de personne') ?>
<?merge .keywordType.ifeq('subject').then('Mot-matière') ?>
<?merge .keywordType.ifeq('genreform').then('Type de document') ?>
<?merge .keywordType.ifeq('function').then('Activité') ?>
&nbsp;
</i>
<?merge .keywordContent.value.bool() ?>
<span>
<?merge .keywordContent.value ?>
</span>
<?merge .keywordReference.value.bool() ?>
<span>
[<?merge .keywordReference.value ?>]
</span>
</dd>
</span>
<?merge .contentDescription.language.bool() ?>
<span>
<dt title="Langue du contenu des objets-données.">Langage</dt>
<?merge .contentDescription.language.array() ?>
<dd translate="no">
<?merge . ?>
</dd>
</span>
</dl>
<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.ifeq('detruire') ?><span>Détruire</span>
<?merge .appraisalRule.code.ifeq('conserver') ?><span>Conserver</span>
</dd>
<dt>Duration</dt>
<dd>
<?merge .appraisalRule.durationNumber.bool() ?>
<span><?merge .appraisalRule.durationNumber ?></span>
<?merge .appraisalRule.durationToDisplay.bool() ?>
<span><?merge .appraisalRule.durationToDisplay ?></span>
</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 -->
<br>
<?hinclude seda/message/contentDescription.html ?>
<?hinclude seda/message/managementMetadata.html ?>
<?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-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">
Description du contenu
</a>
</h4>
</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>
<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() ?>
<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>
<h4>Contexte</h4>
<dl class="dl-horizontal">
<?merge .contentDescription.filePlanPosition.bool() ?>
<span>
<dt>Position plan de classement</dt>
<?merge .contentDescription.filePlanPosition ?>
<dd translate="no">
<?merge .value ?>
</dd>
</span>
<?merge .contentDescription.custodialHistory.bool() ?>
<span>
<dt>Historique</dt>
<?merge .contentDescription.custodialHistory.custodialHistoryItem ?>
<dd translate="no">
<?merge .value ?>
</dd>
</span>
<?merge .contentDescription.descriptionLevel.bool() ?>
<span>
<dt>Niveau de description</dt>
<dd translate="yes">
<?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>
</dd>
</span>
<?merge .contentDescription.oldestDate.bool() ?>
<span>
<dt>Date de début</dt>
<dd translate="no">
<?merge .contentDescription.oldestDate ?>
</dd>
</span>
<?merge .contentDescription.latestDate.bool() ?>
<span>
<dt>Date de fin</dt>
<dd translate="no">
<?merge .contentDescription.latestDate ?>
</dd>
</span>
<?merge .contentDescription.keyword.bool() ?>
<span>
<dt>Mot(s) clé(s)</dt>
<?merge .contentDescription.keyword ?>
<dd translate="no">
<?merge .keywordType.bool() ?>
<i>
<?merge .keywordType.ifeq('corpname').then('Collectivité') ?>
<?merge .keywordType.ifeq('famname').then('Nom de famille') ?>
<?merge .keywordType.ifeq('geogname').then('Lieu') ?>
<?merge .keywordType.ifeq('occupation').then('Fonction') ?>
<?merge .keywordType.ifeq('name').then('Nom') ?>
<?merge .keywordType.ifeq('persname').then('Nom de personne') ?>
<?merge .keywordType.ifeq('subject').then('Mot-matière') ?>
<?merge .keywordType.ifeq('genreform').then('Type de document') ?>
<?merge .keywordType.ifeq('function').then('Activité') ?>
&nbsp;
</i>
<?merge .keywordContent.value.bool() ?>
<span>
<?merge .keywordContent.value ?>
</span>
<?merge .keywordReference.value.bool() ?>
<span>
[<?merge .keywordReference.value ?>]
</span>
</dd>
</span>
<?merge .contentDescription.language.bool() ?>
<span>
<dt title="Langue du contenu des objets-données.">Langage</dt>
<?merge .contentDescription.language.array() ?>
<dd translate="no">
<?merge . ?>
</dd>
</span>
</dl>
</div>
</div>
</div>
</br>
\ No newline at end of file
<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.ifeq('detruire') ?><span>Détruire</span>
<?merge .appraisalRule.code.ifeq('conserver') ?><span>Conserver</span>
</dd>
<dt>Duration</dt>
<dd>
<?merge .appraisalRule.durationNumber.bool() ?>
<span><?merge .appraisalRule.durationNumber ?></span>
<?merge .appraisalRule.durationToDisplay.bool() ?>
<span><?merge .appraisalRule.durationToDisplay ?></span>
</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 -->
<br>
\ No newline at end of file
......@@ -114,12 +114,7 @@
<?merge .content.type.bool() ?>
<span>
<dt>Type</dt>
<?merge .content.type.ifeq('CDO') ?>
<dd>Content data object</dd>
<?merge .content.type.ifeq('RI') ?>
<dd>Representation information</dd>
<?merge .content.type.ifeq('PDI') ?>
<dd>Preservation Description Information</dd>
<dd><?merge .content.type ?></dd>
</span>
<?merge .content.documentType.bool() ?>
<span>
......@@ -131,7 +126,8 @@
<?merge .content.language.bool() ?>
<span>
<dt>Langage</dt>
<dd><?merge .content.language ?></dd>
<?merge .content.language ?>
<dd><?merge . ?></dd>
</span>
<?merge .content.status.bool() ?>
<span>
......
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