fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dodanie aplikacji toolbar przechowującej ustawienia toolbara z edytora dla redaktorów...
[redakcja.git]
/
apps
/
explorer
/
views.py
diff --git
a/apps/explorer/views.py
b/apps/explorer/views.py
index
90115aa
..
ac83c4e
100644
(file)
--- a/
apps/explorer/views.py
+++ b/
apps/explorer/views.py
@@
-1,5
+1,6
@@
from librarian import html
from librarian import html
-import hg, urllib2, json
+import hg, urllib2
+from django.utils import simplejson as json
from django.views.generic.simple import direct_to_template
from django.conf import settings
from django.views.generic.simple import direct_to_template
from django.conf import settings
@@
-48,8
+49,9
@@
def folder_images(request, folder):
})
def _add_references(message, issues):
})
def _add_references(message, issues):
- # TODO
- pass
+ for issue in issues:
+ message += " refs #%d " % issue.id
+ return message
def _get_issues_for_file(path):
if not path.endswith('.xml'):
def _get_issues_for_file(path):
if not path.endswith('.xml'):