Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Findeton committed Jul 3, 2023
1 parent d974023 commit ff7cdb9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion avBooth/help-screen-directive/help-screen-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="hidden unfixed-top-height"></div>
<h1 ng-bind-html="(election.presentation | customI18n : 'public_title') || (election | customI18n : 'title')">
</h1>
<p class="description" ng-bind-html="election.description | addTargetBlank"></p>
<p class="description" ng-bind-html="(election | customI18n : 'description') | addTargetBlank"></p>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
<h1
class="question-title"
ng-if="!showingPreset"
ng-bind-html="stateData.question.title"
ng-bind-html="stateData.question | customI18n : 'title'"
></h1>
</div>
<p
ng-if="!showingPreset"
class="question-description"
ng-bind-html="stateData.question.description | addTargetBlank">
ng-bind-html="(stateData.question | customI18n : 'description') | addTargetBlank">
</p>

<div class="content avb-content" ng-if="!showingPreset">
Expand Down Expand Up @@ -161,7 +161,7 @@ <h4 aria-level="2" class="text-brand-success" ng-i18next="avBooth.questionAvaila
<div class="col-xs-12">
<span ng-if="showingPreset">
<h3 ng-bind-html="stateData.question.extra_options.recommended_preset__title | addTargetBlank"></h3>
<p class="description" ng-bind-html="stateData.question.description | addTargetBlank"></p>
<p class="description" ng-bind-html="(stateData.question | customI18n : 'description') | addTargetBlank"></p>
</span>
</div>
</div>
Expand Down
14 changes: 7 additions & 7 deletions avBooth/pairwise-beta-directive/pairwise-beta-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1>{{stateData.question.title}}</h1>
<div class="container">
<div class="row question-details">
<p
ng-bind-html="stateData.question.description | addTargetBlank"
ng-bind-html="stateData.question | customI18n : 'description' | addTargetBlank"
class="description">
</p>
<span class="selection-info" ng-i18next>
Expand All @@ -97,11 +97,11 @@ <h1>{{stateData.question.title}}</h1>
</iframe>
<img
ng-if="!isYoutube(one) && !!getUrls(one)['Image URL']"
alt="{{one.text}}"
alt="{{one | customI18n : 'text'}}"
ng-if="!!getUrls(one)['Image URL']"
ng-src="{{getUrls(one)['Image URL']}}" />
</div>
<h2 ng-bind-html="one.text"></h2>
<h2 ng-bind-html="one | customI18n : 'text'"></h2>
<div class="links">
<a
class="text-left"
Expand All @@ -117,7 +117,7 @@ <h2 ng-bind-html="one.text"></h2>
{{one.category}}
</div>
</div>
<p class="description" ng-bind-html="one.details"></p>
<p class="description" ng-bind-html="one | customI18n : 'details'"></p>
</div>
</div>

Expand All @@ -135,11 +135,11 @@ <h2 ng-bind-html="one.text"></h2>
</iframe>
<img
ng-if="!isYoutube(two) && !!getUrls(two)['Image URL']"
alt="{{two.text}}"
alt="{{two | customI18n : 'text'}}"
ng-if="!!getUrls(two)['Image URL']"
ng-src="{{getUrls(two)['Image URL']}}" />
</div>
<h2 ng-bind-html="two.text"></h2>
<h2 ng-bind-html="two | customI18n : 'text'"></h2>
<div class="links">
<a
class="text-left"
Expand All @@ -155,7 +155,7 @@ <h2 ng-bind-html="two.text"></h2>
{{two.category}}
</div>
</div>
<p class="description" ng-bind-html="two.details"></p>
<p class="description" ng-bind-html="two | customI18n : 'details'"></p>
</div>
</div>
</div>
Expand Down

0 comments on commit ff7cdb9

Please sign in to comment.