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
/
wiki
/
views.py
diff --git
a/src/wiki/views.py
b/src/wiki/views.py
index
26f031b
..
aea4439
100644
(file)
--- a/
src/wiki/views.py
+++ b/
src/wiki/views.py
@@
-321,7
+321,7
@@
def history(request, chunk_id):
"description": change.description,
"author": change.author_str(),
"date": localize(change.created_at),
"description": change.description,
"author": change.author_str(),
"date": localize(change.created_at),
- "publishable":
_("Publishable") + "\n" if change.publishable else ""
,
+ "publishable":
change.publishable
,
"tag": ',\n'.join(str(tag) for tag in change.tags.all()),
"published": _("Published") + ": " + \
localize(change.publish_log.order_by('-book_record__timestamp')[0].book_record.timestamp) \
"tag": ',\n'.join(str(tag) for tag in change.tags.all()),
"published": _("Published") + ": " + \
localize(change.publish_log.order_by('-book_record__timestamp')[0].book_record.timestamp) \