forked from shaba/openuds
Merge remote-tracking branch 'origin/v3.5'
This commit is contained in:
commit
1b9fd22ba1
@ -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')
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user