Skip to content

Commit

Permalink
en#49 multilingual: +en flags, +softpython template
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLeoni committed Oct 2, 2020
1 parent 1b6c8eb commit 2bcdab9
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 0 deletions.
Binary file added _static/img/flags/16/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/24/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/32/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/48/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/64/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/flat/16/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/flat/24/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/flat/32/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/flat/48/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _static/img/flags/flat/64/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions _templates/breadcrumbs.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@

<div id='jupman-langs'></div>

<!-- SMALL TEMPLATE FOR LANGUAGES (VERY CUSTOM FOR softpython.org !!)
<script>
var hn = window.location.hostname;
var pn = window.location.pathname;
if (hn.includes('softpython.org')){
JUPMAN_LANG = hn.slice(0,window.location.hostname.indexOf('.'));
} else if (pn.includes('/_build/html')){
var pos = pn.indexOf('/_build/html');
JUPMAN_LANG = pn.slice(pos-2, pos);
} else {
JUPMAN_LANG = 'en';
}
console.log('JUPMAN_LANG=',JUPMAN_LANG);
</script>
-->


<!-- <li> <h2 style="background-color:red; color:yellow">WARNING! THIS VERSION IS OLD ! <br/>
<a style=" text-decoration: underline;" href="https://jupman.readthedocs.io/en/latest">GOT TO LATEST VERSION</a></li>
</h2></li>-->
Expand Down

0 comments on commit 2bcdab9

Please sign in to comment.