fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix
[redakcja.git]
/
src
/
depot
/
publishers
/
legimi.py
diff --git
a/src/depot/publishers/legimi.py
b/src/depot/publishers/legimi.py
index
c7fa26d
..
a85b46b
100644
(file)
--- a/
src/depot/publishers/legimi.py
+++ b/
src/depot/publishers/legimi.py
@@
-133,6
+133,7
@@
class Legimi(BasePublisher):
d = {
'errors': [],
'warnings': [],
d = {
'errors': [],
'warnings': [],
+ 'info': []
}
if meta.thema_main or meta.thema:
if meta.thema_main:
}
if meta.thema_main or meta.thema:
if meta.thema_main:
@@
-144,14
+145,14
@@
class Legimi(BasePublisher):
"<b><tt>{code}</tt></b>".format(code=escape(t))
for t in meta.thema
)
"<b><tt>{code}</tt></b>".format(code=escape(t))
for t in meta.thema
)
- d['
comment'] = mark_safe(comment
)
+ d['
info'].append(mark_safe(comment)
)
elif meta.thema:
elif meta.thema:
- d['
comment'] =
mark_safe(
+ d['
info'].append(
mark_safe(
"w kategorii " + ", ".join(
"<b><tt>{code}</tt></b>".format(code=escape(t))
for t in meta.thema
)
"w kategorii " + ", ".join(
"<b><tt>{code}</tt></b>".format(code=escape(t))
for t in meta.thema
)
- )
+ )
)
d['warnings'].append('Brak głównej kategorii Thema')
else:
d['errors'].append('Brak kategorii Thema.')
d['warnings'].append('Brak głównej kategorii Thema')
else:
d['errors'].append('Brak kategorii Thema.')