Skip to content

Commit

Permalink
Mod: Refactor some button on Waysily in order to bind them with typeform
Browse files Browse the repository at this point in the history
  • Loading branch information
serudda committed Jan 19, 2017
1 parent e6e9840 commit a2b36ec
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 13 deletions.
8 changes: 5 additions & 3 deletions www/app/pages/landingPage/landingPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,12 @@
translate>
%global.teacher.text
</a>
<button class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default" translate>
<a class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default"
href="https://waysily.typeform.com/to/jvr0zW"
target="_blank" translate>
%global.school.text
</button>
</a>

</div>

Expand Down
8 changes: 5 additions & 3 deletions www/app/pages/teacherLandingPage/teacherLandingPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,12 @@
translate>
%global.teacher.text
</a>
<button class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default" translate>
<a class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default"
href="https://waysily.typeform.com/to/jvr0zW"
target="_blank" translate>
%global.school.text
</button>
</a>

</div>

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ module app.pages.teacherProfilePage {
goToConfirm (): void {
//TODO: Ir a googleDoc Form o a Typeform con el fin de obtener todos
// los datos necesarios del estudiante interesado.
this.$state.go('https://waysily.typeform.com/to/NDPRAb');
}


Expand Down
7 changes: 4 additions & 3 deletions www/app/pages/teacherProfilePage/teacherProfilePage.html
Original file line number Diff line number Diff line change
Expand Up @@ -891,11 +891,12 @@ <h4 class="ma-box__title margin-reset" translate>

<div class="row">
<div class="col-md-12">
<button class="ma-btn ma-btn--primary
<a class="ma-btn ma-btn--primary
ma-btn--large ma-btn--block"
ng-click="vm.goToConfirm()" translate>
href="https://waysily.typeform.com/to/NDPRAb"
target="_blank" translate>
%profile.teacher.book.button.text
</button>
</a>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions www/build/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions www/components/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,12 @@
translate>
%global.teacher.text
</a>
<button class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default" translate>
<a class="ma-header--transparent__block__buttons-list__btn
ma-btn ma-btn--alert ma-btn--default"
href="https://waysily.typeform.com/to/jvr0zW"
target="_blank" translate>
%global.school.text
</button>
</a>

</div>

Expand Down

0 comments on commit a2b36ec

Please sign in to comment.