X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/454635a6a1b93154e38eb761ac1e7e403f165a81..3ca475c8e10c811633dec531772e18da6e5fa33d:/src/wiki/views.py diff --git a/src/wiki/views.py b/src/wiki/views.py index 26f031be..aea44390 100644 --- 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), - "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) \