Merge remote-tracking branch 'origin/v3.5'

This commit is contained in:
Adolfo Gómez García 2022-02-07 16:12:51 +01:00
commit 1b9fd22ba1
2 changed files with 8 additions and 7 deletions

View File

@ -214,11 +214,12 @@ class StatsManager(metaclass=singleton.Singleton):
try:
def getKwarg(fld: str) -> str:
val = None
for i in FLDS_EQUIV[fld]:
val = kwargs.get(i)
if val is not None:
break
val = kwargs.get(fld)
if val is None:
for i in FLDS_EQUIV[fld]:
val = kwargs.get(i)
if val is not None:
break
return val or ''
fld1 = getKwarg('fld1')

View File

@ -17,13 +17,13 @@
@bottom-right {
content: '{printed}'
}
@left-top {
/*@left-top {
content: "{water}"; font: .5cm/1.5 Fontin Sans;
background: #557891; color: #fff; text-align: right;
padding-right: 2em; height: 1.5em; width: 10cm;
transform-origin: 100% 0;
transform: rotate(-90deg);
}
}*/
}
body {
text-align: justify;