fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add favicon, reverse page titles
[redakcja.git]
/
apps
/
wiki
/
templates
/
wiki
/
document_details_base.html
diff --git
a/apps/wiki/templates/wiki/document_details_base.html
b/apps/wiki/templates/wiki/document_details_base.html
index
8cd603b
..
00c4f6a
100644
(file)
--- a/
apps/wiki/templates/wiki/document_details_base.html
+++ b/
apps/wiki/templates/wiki/document_details_base.html
@@
-1,7
+1,7
@@
{% extends "base.html" %}
{% load toolbar_tags i18n %}
{% extends "base.html" %}
{% load toolbar_tags i18n %}
-{% block titleextra %}{
{ chunk.pretty_title }
}{% endblock %}
+{% block titleextra %}{
% if chunk.pretty_title %}{{ chunk.pretty_title }}{% else %}{{ chunk.book.title }}{% endif %
}{% endblock %}
{% block extrahead %}
{% load pipeline %}
{% stylesheet 'detail' %}
{% block extrahead %}
{% load pipeline %}
{% stylesheet 'detail' %}