File tree Expand file tree Collapse file tree 4 files changed +9379
-7
lines changed
Expand file tree Collapse file tree 4 files changed +9379
-7
lines changed Original file line number Diff line number Diff line change 635635 </script>
636636 <script type="text/javascript">
637637 $(function() {
638- $('.outOfDateTranslation').append(`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="{tei:i18n('translationOutOfDate')}" viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red">
639- <title><xsl:sequence select="tei:i18n('translationOutOfDate')"/></title>
640- <path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>
641- <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/>
642- </svg>`);
638+ const location = window.location.pathname.replace(/.*\/ref-(.*).html/, '$1.xml');
639+ $('.outOfDateTranslation').append('<a href="https://translate.tei-c.org/translate.html?edit=' + location + '"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" aria-label="{tei:i18n('translationOutOfDate')}" viewBox="0 0 16 16" style="position:absolute; top:2px; right:2px; color:red"><title><xsl:sequence select="tei:i18n('translationOutOfDate')"/></title>' +
640+ `<path d="M6.146 7.146a.5.5 0 0 1 .708 0L8 8.293l1.146-1.147a.5.5 0 1 1 .708.708L8.707 9l1.147 1.146a.5.5 0 0 1-.708.708L8 9.707l-1.146 1.147a.5.5 0 0 1-.708-.708L7.293 9 6.146 7.854a.5.5 0 0 1 0-.708z"/>
641+ <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z"/></svg></a>`);
643642 });
644643 </script>
645644 <script src="bootstrap.bundle.min.js"></script>
Original file line number Diff line number Diff line change 1- < nav class ="navbar navbar-expand-lg navbar-dark " style ="background-color: #0059A8; ">
1+ < nav class ="navbar navbar-expand-lg navbar-dark " style ="background-color: #0059A8; font-size: larger ">
22 < div class ="container-fluid ">
33 < a class ="navbar-brand p-0 m-0 " href ="/ ">
44 < img src ="emblem_color_dark.png " alt ="TEI Emblem " width ="40 "/>
You can’t perform that action at this time.
0 commit comments