Add hint QS -> Quantité Suffisante

Make olasd happy
This commit is contained in:
Théophile Bastian 2021-12-17 19:56:29 +01:00
parent 3a6cf212ac
commit ea62fc8fc8
3 changed files with 11 additions and 1 deletions

View file

@ -10,7 +10,10 @@
{{ else }}
<li>
<span class="ingred-qt">{{ with .qt }}{{ . | markdownify }}{{ end }}</span>
<span
class="ingred-qt{{ with .qt -}}
{{ if eq . "QS" }} with_abbrv" title="Quantité Suffisante{{ end }}
{{- end }}">{{ with .qt }}{{ . | markdownify }}{{ end }}</span>
{{ with .article -}}
{{ . | markdownify -}}
{{- if substr . -1 1 | eq "'" -}}{{ else }} {{ end -}}

View file

@ -245,6 +245,10 @@ ul {
list-style-type: circle;
}
.with_abbrv {
text-decoration: underline dotted;
}
.homepagecat {
margin-top: 50px;
}

View file

@ -176,6 +176,9 @@ a, a:visited {
ul {
list-style-type: circle; }
.with_abbrv {
text-decoration: underline dotted; }
.homepagecat {
margin-top: 50px; }