Merged in hotfix/typos (pull request #75)

Hotfix/typos
This commit is contained in:
Christian Cueni 2020-09-28 16:56:40 +00:00
commit 5057e54e4d
5 changed files with 6 additions and 6 deletions

View File

@ -158,7 +158,7 @@ describe('Registration', () => {
it('redirects to hello if email is missing', () => { it('redirects to hello if email is missing', () => {
cy.visit('/register'); cy.visit('/register');
cy.get('[data-cy="hello-title"]').contains('Wollen sie mySkillbox jetzt im Unterricht verwenden?'); cy.get('[data-cy="hello-title"]').contains('Wollen Sie mySkillbox jetzt im Unterricht verwenden?');
}); });
}); });

View File

@ -3,7 +3,7 @@
<main <main
class="check-email__content content" class="check-email__content content"
data-cy="email-check"> data-cy="email-check">
<p class="content__instructions">Eine E-Mail ist auf dem Weg, bitte überprüfen sie ihr Postfach.</p> <p class="content__instructions">Eine E-Mail ist auf dem Weg, bitte überprüfen Sie Ihr Postfach.</p>
</main> </main>
</div> </div>

View File

@ -2,7 +2,7 @@
<div class="hello public-page"> <div class="hello public-page">
<h1 <h1
class="hello__title public-page__title" class="hello__title public-page__title"
data-cy="hello-title">Wollen sie mySkillbox jetzt im Unterricht verwenden?</h1> data-cy="hello-title">Wollen Sie mySkillbox jetzt im Unterricht verwenden?</h1>
<form <form
class="hello__form hello-form" class="hello__form hello-form"
novalidate novalidate

View File

@ -53,10 +53,10 @@
<ul class="license-links"> <ul class="license-links">
<li class="license-links__item"><a <li class="license-links__item"><a
:href="teacherEditionUrl" :href="teacherEditionUrl"
class="hep-link">mySkillobx für Lehrpersonen</a></li> class="hep-link">mySkillbox für Lehrpersonen</a></li>
<li class="license-links__item"><a <li class="license-links__item"><a
:href="studentEditionUrl" :href="studentEditionUrl"
class="hep-link">mySkillobx für Lernende</a></li> class="hep-link">mySkillbox für Lernende</a></li>
</ul> </ul>
</section> </section>
</div> </div>

View File

@ -24,7 +24,7 @@ class NewsTeaserNode(DjangoObjectType):
return self.date.strftime("%-d. %B %Y") return self.date.strftime("%-d. %B %Y")
except: except:
month = month_to_german_string(self.date.month) month = month_to_german_string(self.date.month)
return f'{self.date.day}. {month}. {self.date.year}' return f'{self.date.day}. {month} {self.date.year}'
class AllNewsTeasersQuery(object): class AllNewsTeasersQuery(object):