Skip to content

Commit 4e6e41b

Browse files
committed
Pre-release updates.
1 parent d3e798f commit 4e6e41b

File tree

4 files changed

+9379
-7
lines changed

4 files changed

+9379
-7
lines changed

P5/Utilities/guidelines.xsl.model

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,10 @@
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>

P5/Utilities/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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"/>

0 commit comments

Comments
 (0)