fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Untangle the callbacks; Add linkable diff tabs.
[redakcja.git]
/
src
/
documents
/
templatetags
/
wall.py
diff --git
a/src/documents/templatetags/wall.py
b/src/documents/templatetags/wall.py
index
486a2d6
..
25bda8b
100644
(file)
--- a/
src/documents/templatetags/wall.py
+++ b/
src/documents/templatetags/wall.py
@@
-51,8
+51,8
@@
def changes_wall(user=None, max_len=None, day=None):
w.header = _('Edit')
w.title = chunk.pretty_name()
w.summary = item.description
w.header = _('Edit')
w.title = chunk.pretty_name()
w.summary = item.description
- w.url = reverse('wiki_editor',
- args=[chunk.book.slug, chunk.slug]) + '?diff=%d' % item.revision
+ w.url = reverse('wiki_editor',
args=[chunk.book.slug, chunk.slug]) + \
+ '#DiffPerspective_R%d-%d' % (item.revision - 1, item.revision)
w.timestamp = item.created_at
w.user = item.author
w.user_name = item.author_name
w.timestamp = item.created_at
w.user = item.author
w.user_name = item.author_name