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 81a42cf commit 8d3df8e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions avBooth/start-screen-directive/start-screen-directive.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,23 @@
<div class="hidden unfixed-top-height"></div>
<h1
class="election-title"
ng-bind-html="parentElection && (parentElection.presentation.extra_options.public_title || (parentElection | customI18n : 'title')) || !parentElection && (election.presentation.extra_options.public_title || (election | customI18n : 'title')) || ''"
ng-if="parentElection"
ng-bind-html="(parentElection.presentation.extra_options | customI18n : 'public_title') || (parentElection | customI18n : 'title') || ''"
></h1>
<h1
class="election-title"
ng-if="!parentElection"
ng-bind-html="(election.presentation.extra_options | customI18n : 'public_title') || (election | customI18n : 'title') || ''"
></h1>
<p
class="election-description description"
ng-bind-html="(parentElection | customI18n : 'description') | addTargetBlank"
ng-if="parentElection && (!!parentElection.description || !!parentElection.description_i18n)"
></p>
<p
class="election-description description"
ng-bind-html="((parentElection && (parentElection | customI18n : 'description')) || (!parentElection && (election | customI18n : 'description')) || '') | addTargetBlank"
ng-if="(parentElection && (!!parentElection.description || !!parentElection.description_i18n)) || (!parentElection && (!!election.description || !!election.description_i18n))"
ng-bind-html="(election | customI18n : 'description') | addTargetBlank"
ng-if="!parentElection && (!!election.description || !!election.description_i18n)"
></p>
</div>
</div>
Expand Down

0 comments on commit 8d3df8e

Please sign in to comment.