Skip to content

Commit

Permalink
Pre-release updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
hcayless committed Sep 3, 2024
1 parent d3e798f commit 4e6e41b
Show file tree
Hide file tree
Showing 4 changed files with 9,379 additions and 7 deletions.
9 changes: 4 additions & 5 deletions P5/Utilities/guidelines.xsl.model
Original file line number Diff line number Diff line change
Expand Up @@ -635,11 +635,10 @@
</script>
<script type="text/javascript">
$(function() {
$('.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">
<title><xsl:sequence select="tei:i18n('translationOutOfDate')"/></title>
<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"/>
<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>`);
const location = window.location.pathname.replace(/.*\/ref-(.*).html/, '$1.xml');
$('.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>' +
`<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"/>
<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>`);
});
</script>
<script src="bootstrap.bundle.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion P5/Utilities/nav.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #0059A8;">
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #0059A8; font-size: larger">
<div class="container-fluid">
<a class="navbar-brand p-0 m-0" href="/">
<img src="emblem_color_dark.png" alt="TEI Emblem" width="40"/>
Expand Down
Loading

0 comments on commit 4e6e41b

Please sign in to comment.