Commit a1116eed authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

method name is not enough, have to call it

parent f44425ec
Pipeline #4739 passed with stage
in 24 seconds
......@@ -418,7 +418,7 @@ class Project(Links, NamedModel, TimeStampedModel):
repo = self.repo_set.filter(forge__source=SOURCES.gitlab, namespace__group=True)
if repo.exists():
link = repo.first().url + '/pipeline_schedules'
return mark_safe(f'<a href="{link}">{self.cron}</a>')
return mark_safe(f'<a href="{link}">{self.cron()}</a>')
class Repo(TimeStampedModel):
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