Datasnipper templates for their Weglot translation tool. Pipedrive's footer still needs the translations. Big ideas notes - finished their custom end of quiz screen items.

This commit is contained in:
Norm Rasmussen
2024-02-27 17:26:51 -05:00
parent 995feecb65
commit dbcdfc8472
5 changed files with 68 additions and 12 deletions

View File

@ -11,5 +11,14 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js" type="text/javascript"></script>
{% comment %}
<script type="text/javascript" src="https://cdn.weglot.com/weglot.min.js"></script>
<script>
Weglot.initialize({
api_key: 'wg_65c22885fee5b146978034548c4f888a6'
});
</script>
{% endcomment %}
{% include 'generic_tns_carousel' %}
{% include 'function_update_event_timezone' %}

View File

@ -34,7 +34,7 @@
<a class="footer-links-section-item lang-fr" href="https://www.pipedrive.com/fr/newsroom">Newsroom</a>
<a class="footer-links-section-item lang-br" href="https://www.pipedrive.com/en/newsroom">Newsroom</a>
</div>
<div class="footer-links-section">
<p class="footer-links-section-title">
<span class="lang-en">Product</span>
@ -79,7 +79,7 @@
<a class="footer-links-section-item lang-fr" href="https://developers.pipedrive.com/">API</a>
<a class="footer-links-section-item lang-br" href="https://developers.pipedrive.com/">API</a>
</div>
<div class="footer-links-section">
<p class="footer-links-section-title">
<span class="lang-en">Discover</span>
@ -112,7 +112,7 @@
<a class="footer-links-section-item lang-fr" href="https://www.pipedrive.com/fr/resources">Ressources</a>
<a class="footer-links-section-item lang-br" href="https://www.pipedrive.com/pt/resources">Ferramentas</a>
</div>
<div class="footer-links-section">
<p class="footer-links-section-title">
<span class="lang-en">Help Center</span>
@ -146,7 +146,7 @@
<a class="footer-links-section-item lang-br" href="https://support.pipedrive.com/pt/contact-us">Suporte</a>
</div>
</section>
<section class="footer-bottom">
<div class="footer-bottom-row">
<div class="footer-language-wrapper np-hidden-mobile">
@ -184,7 +184,7 @@
{% endif %}
</div>
</div>
<div class="footer-bottom-row body-s">
<div class="footer-bottom-links">
<p class="footer-bottom-link-text">
@ -210,8 +210,17 @@
<span class="lang-fr">Politique de confidentialité</span>
<span class="lang-br">Política de privacidade</span>
</a>
<p class="footer-button-link-separator">
|
</p>
<a class="footer-bottom-link" href="https://www.pipedrive.com/en/sitemap">
<span class="lang-en">Site Map</span>
<span class="lang-de"></span>
<span class="lang-es"></span>
<span class="lang-fr"></span>
<span class="lang-br"></span>
</a>
</div>
<div class="footer-bottom-text">
<span class="lang-en">Pipedrive is a Web-based Sales CRM.</span>
<span class="lang-de">Pipedrive ist ein webbasiertes Vertriebs-CRM.</span>

View File

@ -23,9 +23,19 @@
{% assign progress_status_en = "completed" %}
{% endif %}
{% comment %} {% if course.id == "5df1bb20-3412-4e59-806d-7e7b38b9f5fc" %} {% endif %} {% endcomment %}
{% comment %} {% if current_person.properties.german_test_delay == false %} {% endif %} {% endcomment %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content course-column {{progress_status_de}} {{progress_status_en}}" data-lang="{{course.properties.course_language}}" order="{{course.properties.course_order}}">
{% include "cards_course" with course %}
</div>
{% comment %} {% else %}
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content course-column {{progress_status_de}} {{progress_status_en}}" data-lang="{{course.properties.course_language}}" order="{{course.properties.course_order}}">
{% include "cards_course" with course %}
</div>
{% endif %}
{% endif %}
{% endcomment %}
{% endunless %}
{% endfor %}
</div>

View File

@ -445,16 +445,42 @@ let eoqMutationObserver = () => {
// These if statements are all for the Mathematical Learning Experiences (LP01. Course03)
// Just replace the activity name in the if statement and replace the copy between > < in the action
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Course Pre-Assessment') {
// console.log("Course pre-assessment activity!");
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for taking the time to share your existing knowledge through the course pre-assessment.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Dig In Activity') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Your responses have been submitted. You may continue with the course.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Investigate Activity') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Your responses have been submitted. You may continue with the course.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Attend to Precision Activity') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for sharing your thinking about how teachers can support students in attending to precision in a mathematics classroom. The next video will provide insight into how each example relates to this practice.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Learning Target Check-In') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Your self-reflection toward our course learning target and success criteria has been submitted. Thank you!</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Construct Viable Arguments and Critique the Reasoning of Others Activity') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for sharing your thinking about how teachers can support students in constructing viable arguments and critiquing the reasoning of others. The next video will provide insight into how each example relates to this practice.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Module 4b: Classroom Connections') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for sharing your thinking around how each classroom supported mathematical learning experiences through communicating about purpose and content and using questioning and discussion techniques.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Learning Target Check-In') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Your self-reflection toward our course learning target and success criteria has been submitted. Thank you!</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Module 4d: Classroom Connections') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for sharing your thinking around how each classroom supported mathematical learning experiences through engaging students in learning experiences and using assessment for learning.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Take & Try Reflection') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Your Take & Try reflection responses have been submitted.</h2>";
}
if (document.querySelector('[data-test="activity-title"]').innerHTML.trim() === 'Course Feedback') {
document.querySelector('[data-test="quiz-summary"]').innerHTML = "<h2 data-test='summary-headline' class='H2-sc-1bdnwwu-0 dZdbwG'>Thank you for taking the time to provide feedback on your experiences learning in this course.</h2>";
}
observer.disconnect();
observer.observe(document, config);
}
});
observer.observe(document, config);
}

View File

@ -19,8 +19,8 @@
## 2/21/2024
- [-] Begin design of Luminate Learning Path completion page
- [ ] Test Weglot in templates for Datasnipper
- [ ] Can we adjust where the button shows up?
- [-] Test Weglot in templates for Datasnipper
- [-] Can we adjust where the button shows up?
- [ ] Can we adjust dynamic elements that translate and are too long?
- [X] Update fonts & Continue button color for TripleSeat.
@ -50,4 +50,6 @@ FEAT: Transcripts page - Clickable courses, Export of table "proof for learner",
- [ ] Cin7: updating properties from course settings not working. Figure out fix.
- [ ] Artera: Update CustomCSS tab with Milestone language.
- [ ] Create topic list doc for CE Team Meetings
- [X] Ask Travis to sync privately with Alaina