Commit 717ac685 authored by Michal Čihař's avatar Michal Čihař

Document changed behavior

parent 63a89629
...@@ -319,9 +319,12 @@ class SubProject(models.Model): ...@@ -319,9 +319,12 @@ class SubProject(models.Model):
def get_repoweb_link(self, filename, line): def get_repoweb_link(self, filename, line):
''' '''
Generates link to source code browser for given file and line. Generates link to source code browser for given file and line.
For linked repositories, it is possible to override linked
repository path here.
''' '''
if len(self.repoweb) == 0: if len(self.repoweb) == 0:
if self.is_repo_link() : if self.is_repo_link():
return self.linked_subproject.get_repoweb_link(filename, line) return self.linked_subproject.get_repoweb_link(filename, line)
return None return None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment