Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
vote-351: added an if not
Browse files Browse the repository at this point in the history
  • Loading branch information
clmedders committed Dec 12, 2023
1 parent e3606e0 commit edcb7f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions layouts/partials/deadlines.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@
<h2>{{ replace $translation.register.dates__heading "%state_name%" .Params.state_name }}</h2>
</header>
{{end}}
{{ if eq .Params.registration_type "not-needed"}}
{{/* Exclude registered-resources content for accessability*/}}
{{ else }}
{{ if ne .Params.registration_type "not-needed"}}
<ul class="registered-resources">
{{ if or (ne .Params.online_deadline nil) (ne .Params.default_online_deadline nil) }}
{{ $onlineDeadline := cond (ne .Params.online_deadline nil) (partial "date-format-online.html" .) .Params.default_online_deadline }}
Expand Down

0 comments on commit edcb7f8

Please sign in to comment.