Commit 9ad9a022 authored by Claude Paroz's avatar Claude Paroz

Fixes #106 - Changed commit log URL for GitLab

parent 072465e5
......@@ -304,7 +304,7 @@ class Branch(models.Model):
def get_vcs_web_log_url(self):
""" Link to browsable commit log """
if self.module.vcs_type == 'git':
return utils.url_join(self.module.vcs_web, "log", "?h=%s" % self.name)
return utils.url_join(self.module.vcs_web, 'commits', 'master')
else:
# Not implemented for other VCS
return ""
......
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