fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
temporary attributes for bible tags
[redakcja.git]
/
src
/
documents
/
models
/
book.py
diff --git
a/src/documents/models/book.py
b/src/documents/models/book.py
index
fa93eeb
..
e780389
100644
(file)
--- a/
src/documents/models/book.py
+++ b/
src/documents/models/book.py
@@
-478,8
+478,10
@@
class Book(models.Model):
if self.project.logo_mono:
data['logo_mono'] = urljoin(
'https://' + Site.objects.get_current().domain,
if self.project.logo_mono:
data['logo_mono'] = urljoin(
'https://' + Site.objects.get_current().domain,
- self.project.logo.url,
+ self.project.logo
_mono
.url,
)
)
+ if self.project.logo_alt:
+ data['logo_alt'] = self.project.logo_alt
if host:
data['gallery_url'] = host + self.gallery_url()
apiclient.api_call(user, "books/", data, beta=beta)
if host:
data['gallery_url'] = host + self.gallery_url()
apiclient.api_call(user, "books/", data, beta=beta)