Skip to content
Snippets Groups Projects
Select Git revision
  • 0d0bc7b0e9d752c98fe431ad1056a8edf3d86747
  • consistent_config default protected
2 results

test_dart-rttov.py

Blame
  • extra.js 522 B
    function getVersion() {
        const segments = location.pathname.split('/');
        if (segments.length > 4) {
            console.debug('version', segments[3]);
            return segments[3];
        } else {
            console.debug('default version', '__APPVERSION__');
            return '__APPVERSION__';
        }
    }
    function switchVersion(value) {
        if (!value) { return }
        this.location.href = location.protocol + '//' + location.host + '/infrastructures/dbrepo/' + value + '/';
    }
    document.getElementById("version").value = getVersion();