Commit 0f5a7bb5 authored by Anne Goloubkoff-Duponchel's avatar Anne Goloubkoff-Duponchel
Browse files

ajout du lien pour les métadonnées

parent e43c07df
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
(: For conditions of distribution and use, see the accompanying legal.txt file. :)

import module namespace max.config = 'pddn/max/config' at '../../../rxq/config.xqm';

import module namespace max.i18n = 'pddn/max/i18n' at '../../../rxq/i18n.xqm';

declare variable $baseURI external;
declare variable $project external;
@@ -17,6 +17,8 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){
            {
                for $c in $target/*:ead/*:archdesc/*:dsc
                return
                   (
                        <a href="{$baseURI}{$projectId}/{$docPath}/info/eadheader.html">{max.i18n:getText($project,'menu.meta')}</a>,
                        <details id="details_{$c/ancestor::*:archdesc/@level}" level="archdesc" open="">
                            <summary>
                            <a href="{$baseURI}{$projectId}/{$docPath}/{$c/ancestor::*:archdesc/@id}.html">
@@ -26,6 +28,7 @@ declare function local:buildEADDocumentTOC($projectId, $docPath){
                            </summary>
                            {local:childrenToc($c, $projectId, $docPath)}
                        </details>
                    )
            }
        </nav>
};