Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
a1116eed
Commit
a1116eed
authored
Jul 01, 2019
by
Guilhem Saurel
Browse files
method name is not enough, have to call it
parent
f44425ec
Pipeline
#4739
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
a1116eed
...
@@ -418,7 +418,7 @@ class Project(Links, NamedModel, TimeStampedModel):
...
@@ -418,7 +418,7 @@ class Project(Links, NamedModel, TimeStampedModel):
repo
=
self
.
repo_set
.
filter
(
forge__source
=
SOURCES
.
gitlab
,
namespace__group
=
True
)
repo
=
self
.
repo_set
.
filter
(
forge__source
=
SOURCES
.
gitlab
,
namespace__group
=
True
)
if
repo
.
exists
():
if
repo
.
exists
():
link
=
repo
.
first
().
url
+
'/pipeline_schedules'
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
):
class
Repo
(
TimeStampedModel
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment