fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename publishable to approved, add profile option to approve by default.
[redakcja.git]
/
src
/
documents
/
models
/
image.py
diff --git
a/src/documents/models/image.py
b/src/documents/models/image.py
index
fd3d8c4
..
c14cca0
100644
(file)
--- a/
src/documents/models/image.py
+++ b/
src/documents/models/image.py
@@
-72,7
+72,7
@@
class Image(dvcs_models.Document):
return open(self.image.path)
publishable = self.publishable()
return open(self.image.path)
publishable = self.publishable()
- assert publishable, _("There is no
publishable
revision")
+ assert publishable, _("There is no
approved
revision")
picture_xml = publishable.materialize()
try:
picture_xml = publishable.materialize()
try: