Nintex templates download as I was investigating some issue with their search bar. In the header file, if you have multiple '<input' (like we would normally do for language switcher options) it negates the button being clickable at all.
This commit is contained in:
@ -0,0 +1,58 @@
|
||||
{% include "header"
|
||||
, color: "var(--nintex--color--deep-purple)"
|
||||
, text_color: "white"
|
||||
, text_en_US: ""
|
||||
, text_es: ""
|
||||
, text_fr: ""
|
||||
, text_de: ""
|
||||
, text_en_GB: ""
|
||||
, text_nl: ""
|
||||
, text_pt_BR: ""
|
||||
, subtitle_en_US: ""
|
||||
, subtitle_es: ""
|
||||
, subtitle_fr: ""
|
||||
, subtitle_de: ""
|
||||
, subtitle_en_GB: ""
|
||||
, subtitle_nl: ""
|
||||
, subtitle_pt_BR: ""
|
||||
, button_text_en_US: ""
|
||||
, button_text_es: ""
|
||||
, button_text_fr: ""
|
||||
, button_text_de: ""
|
||||
, button_text_en_GB: ""
|
||||
, button_text_nl: ""
|
||||
, button_text_pt_BR: ""
|
||||
, button_link: "" %}
|
||||
<main class="np-main np-max-width np-page-container">
|
||||
<div class="np-hidden-mobile" id="learning-path-desktop">
|
||||
{% include "learning_path_desktop_view" %}
|
||||
</div>
|
||||
<div class="np-hidden-desktop" id="learning-path-mobile">
|
||||
{% include "learning_path_mobile_view" %}
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
const progress = document.querySelector('.np-top-cta-container>a');
|
||||
if(progress) {
|
||||
if(lang === 'es') {
|
||||
progress.textContent = progress.textContent.replace('Start Path', 'Iniciar Camino');
|
||||
progress.textContent = progress.textContent.replace('Continue', 'Continuar');
|
||||
} else if(lang === 'fr') {
|
||||
progress.textContent = progress.textContent.replace('Start Path', 'Commencer le Parcours');
|
||||
progress.textContent = progress.textContent.replace('Continue', 'Continuer');
|
||||
} else if(lang === 'de') {
|
||||
progress.textContent = progress.textContent.replace('Start Path', 'Lernpfad starten');
|
||||
progress.textContent = progress.textContent.replace('Continue', 'Fortsetzen');
|
||||
} else if(lang === 'nl') {
|
||||
progress.textContent = progress.textContent.replace('Start Path', 'Leerpad starten');
|
||||
progress.textContent = progress.textContent.replace('Continue', 'Verder');
|
||||
} else if(lang === 'pt-BR') {
|
||||
progress.textContent = progress.textContent.replace('Start Path', 'Iniciar Caminho');
|
||||
progress.textContent = progress.textContent.replace('Continue', 'Continuar');
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% include "footer" %}
|
||||
Reference in New Issue
Block a user