File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 < div class ="col ">
3434 < h1 > {{ page.title }}</ h1 >
3535 < hr >
36+ <!-- Outdated translatons notice -->
37+ {% if page.ver %}
38+ {% assign enPage=site.pages | where:"stub", page.stub | where:"lang", "en" | first %}
39+ {% if page.ver < enPage .ver %}
40+ < div class ="alert alert-warning " role ="alert ">
41+ < h4 class ="alert-heading "> {{ i18n.warning }}</ h4 >
42+ < p > {{ i18n.outdated-warn-1 }} < a class ="alert-link "
43+ href ="{{ enPage.url | prepend: site.url }} "> {{ i18n.outdated-warn-2 }}</ a >
44+ {{ i18n.outdated-warn-3 }}</ p >
45+ < hr >
46+ < p class ="mb-0 "> < a class ="alert-link "
47+ href ="https://crowdin.com/project/authenticator-docs/ "> {{ i18n.translate-long }}</ a >
48+ </ p >
49+ </ div >
50+ {% endif %}
51+ {% endif %}
52+ <!-- This page is avalible in {{ language }} -->
53+ < div class ="alert alert-primary " id ="lang-change-div " style ="display: none; " role ="alert ">
54+ < a id ="lang-change-a " class ="alert-link "> </ a > < span id ="lang-change-text "> </ span >
55+ </ div >
3656 {{ content }}
3757 {% assign pages=site.pages | where:"stub", page.stub | sort: 'lang' %}
3858 {% if pages.size > 1 %}
@@ -56,6 +76,7 @@ <h1>{{ page.title }}</h1>
5676 </ div >
5777 </ div >
5878 </ div >
79+ < script src ="/js/langnotice.js "> </ script >
5980 <!-- Bootstrap JS -->
6081 < script src ="https://code.jquery.com/jquery-3.3.1.slim.min.js "
6182 integrity ="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo "
You can’t perform that action at this time.
0 commit comments