Skip to content

Commit

Permalink
Merge pull request #11 from edrlab/layout
Browse files Browse the repository at this point in the history
Layout
  • Loading branch information
gautierchomel authored Sep 19, 2024
2 parents 5021987 + d5f54bb commit 5fa487c
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 13 deletions.
3 changes: 1 addition & 2 deletions content/english/rules/028.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
N: '117'
Rubrique: Images et médias
title: Videos feature synchronized captions
abstract: Subtitles are fundamental for deaf users and useful for users who cannot unmute themselves.
They can be read by the screen reader.
abstract: Subtitles are fundamental for deaf users and useful for users who cannot unmute themselves. They can be read by the screen reader.
categories: ["Images and media"]
agrege: O4117-E028
opquast: '4 117'
Expand Down
2 changes: 0 additions & 2 deletions content/english/rules/070.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Meo: ["Include a metadata tag specifying the character set in each page header."
Controle: ["Check the source code of the HTML page of the epub: The meta tag with the charset attribute must be defined and located in the head tag of the HTML page", "Epub Check will report in the event of absence or 'error."]
epubcheck: true
ace: false
epubcheck:
ace:
humancheck: true
Source: ["Opquast"]
Referentiel: [""]
Expand Down
2 changes: 0 additions & 2 deletions content/english/rules/071.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ Meo: ["Configure production tools and databases in UTF-8 as the default characte
Check: ["Check the source code of the HTML page of the epub: The meta tag with the charset attribute must be defined on UTF-8 and be located in the head tag of the HTML page", "Epub Check will report in case of absence or error."]
epubcheck: true
ace: false
epubcheck:
ace:
humancheck: true
Source: ["Opquast"]
Referentiel: [""]
Expand Down
2 changes: 0 additions & 2 deletions content/english/rules/072.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ Controle: ["Check the source code of the epub HTML page: <ul>
<li>The order of the title levels must be hierarchical and coherent.</li>"]
epubcheck: false
ace: true
epubcheck:
ace:
humancheck: true
Source: ["Opquast"]
Referentiel: [""]
Expand Down
3 changes: 1 addition & 2 deletions content/french/rules/028.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
N: '117'
Rubrique: Images et médias
title: Les vidéos comportent des sous-titres synchronisés
abstract: Les sous-titres sont fondamentaux pour les utilisateurs sourds et utiles pour les utilisateurs qui ne peuvent pas activer le son.
Ils peuvent être lus par le lecteur d’écran.
abstract: Les sous-titres sont fondamentaux pour les utilisateurs sourds et utiles pour les utilisateurs qui ne peuvent pas activer le son. Ils peuvent être lus par le lecteur d’écran.
categories: [" Images et médias"]
agrege: O4117-E028
opquast: '4 117'
Expand Down
4 changes: 2 additions & 2 deletions content/french/rules/031.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Controle: ["Vérifier l'absence de contenus audio activés automatiquement au ch
epubcheck: false
ace: false
humancheck: true
insidemetadata: "<meta property=schema:accessibilityHazard>noSoundHazard</meta>"
onixmetadata: ""
OPFmetadata: "<meta property=schema:accessibilityHazard>noSoundHazard</meta>"
onixmetadata: "[143 16](https://ns.editeur.org/onix/en/143/16)"
Source: ["Opquast"]
Referentiel: [""]
Steps: ["Conception", "Editorial"]
Expand Down
5 changes: 4 additions & 1 deletion i18n/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,7 @@
translation: Doit être vérifié par une personne

- id: validation
translation: Validation
translation: Validation

- id: metadata
translation: metadata
15 changes: 15 additions & 0 deletions layouts/rules/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ <h5 class="mr-3">{{ i18n "tags" }}&nbsp;:</h5>
</div>
<div class="row items-start justify-between">


<div class="">
<h5 class="mr-3">{{ i18n "Referentiel" }}&nbsp;:</h5>
<ul>
Expand All @@ -137,6 +138,20 @@ <h5 class="mr-3">{{ i18n "Referentiel" }}&nbsp;:</h5>
{{ end }}
</ul>

</div>
<div class="">
<h5 class="mr-3">{{ i18n "metadata" }}&nbsp;:</h5>
<ul>
<li>ONIX
{{ $Onixmetadata:= .Params.Onixmetadata }}
{{ $Onixmetadata }}</li>

<li>OPF
{{ $OPFmetadata:= .Params.OPFmetadata }}
{{ $OPFmetadata }}</li>

</ul>

</div>
</div>

Expand Down

0 comments on commit 5fa487c

Please sign in to comment.