Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jun 28, 2023
1 parent 803fe21 commit 758cdd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion avBooth/error-screen-directive/error-screen-directive.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- top navbar -->
<div avb-common-header></div>
<div avb-watermark></div>p
<div avb-watermark></div>

<div class="wrapper-unfixed">
<div class="navbar-unfixed-top text-center" av-collapsing=".unfixed-top-height" data-toggle-selector="[avb-error-screen] #avb-toggle">
Expand Down
2 changes: 1 addition & 1 deletion avBooth/start-screen-directive/start-screen-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h4 ng-i18next="avBooth.legal.title"></h4>
<button
class="btn btn-block btn-lg btn-success-action btn-plain"
ng-i18next="avBooth.startVoting"
ng-click="next()">
ng-click="goToError()">
</button>
</div>
<div avb-common-footer float="true"></div>
Expand Down
6 changes: 5 additions & 1 deletion avBooth/start-screen-directive/start-screen-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ angular
.module('avBooth')
.directive(
'avbStartScreen',
function(ConfigService)
function(ConfigService, $i18next)
{
function link(scope, element, attrs)
{
Expand All @@ -43,6 +43,10 @@ angular
}
}

scope.goToError = function () {
scope.showError($i18next("avBooth.errorSendingBallot"))
};

scope.fixToBottom = scope.checkFixToBottom();
}

Expand Down

0 comments on commit 758cdd1

Please sign in to comment.