Commit 5a98f9f6 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files


parent 00c79fb8
Pipeline #1421 passed with stages
in 1 minute and 2 seconds
......@@ -69,8 +69,7 @@ class BranchTable(StrippedTable):
def render_name(self, record, value):
if record.repo is None:
return value
if '/' in name:
name ='/', maxsplit=2)[2]
name ='/', maxsplit=2)[2] if '/' in else
return mark_safe(f'<a href="{record.repo.url}/tree/{name}">{name}</a>')
def render_forge(self, value):
Supports Markdown
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