refs #25
authorLukasz Rekucki <lreqc@localhost.(none)>
Tue, 18 Aug 2009 16:46:49 +0000 (18:46 +0200)
committerLukasz Rekucki <lreqc@localhost.(none)>
Tue, 18 Aug 2009 16:46:49 +0000 (18:46 +0200)
apps/explorer/views.py

index 90115aa..acbcd19 100644 (file)
@@ -48,8 +48,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'):