Bug 33946: (QA follow-up) Add spans and classes for styling and translatability

Adds back the spans around No title and more spans for
'No bibliographic record' with individual classes for each
to allow for styling later.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit f91cc77a68)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Katrin Fischer 2023-07-10 21:08:38 +00:00 committed by Martin Renvoize
parent 36847ff51d
commit 7eabb2350b
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
2 changed files with 4 additions and 4 deletions

View File

@ -4,9 +4,9 @@
[%- END -%]
[%- IF !biblio -%]
No bibliographic record
<span class="biblio-no-record">No bibliographic record</span>
[%- ELSIF !biblio.title -%]
No title
<span class="biblio-no-title">No title</span>
[%- ELSE -%]
<span class="biblio-title">[% biblio.title | html %]</span>
[%- END -%]

View File

@ -4,9 +4,9 @@
[%- END -%]
[%- IF !biblio -%]
No bibliographic record
<span class="biblio-no-record">No bibliographic record</span>
[%- ELSIF !biblio.title -%]
No title
<span class="biblio-no-title">No title</span>
[%- ELSE -%]
<span class="biblio-title">[% biblio.title | html %]</span>
[%- END -%]