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
50f7caf1
Commit
50f7caf1
authored
Jul 11, 2018
by
Guilhem Saurel
Browse files
print_{r,}deps: get_link()
parent
227aeb8b
Pipeline
#940
passed with stages
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/models.py
View file @
50f7caf1
...
...
@@ -294,10 +294,10 @@ class Project(Links, NamedModel, TimeStampedModel):
return
images
.
order_by
(
Length
(
'robotpkg__name'
).
desc
()).
first
()
def
print_deps
(
self
):
return
', '
.
join
(
str
(
d
.
library
)
for
d
in
self
.
dependencies
.
all
())
return
mark_safe
(
', '
.
join
(
d
.
get_link
(
)
for
d
in
self
.
dependencies
.
all
())
)
def
print_rdeps
(
self
):
return
', '
.
join
(
str
(
d
.
project
)
for
d
in
self
.
rdeps
.
all
())
return
mark_safe
(
', '
.
join
(
d
.
get_link
(
)
for
d
in
self
.
rdeps
.
all
())
)
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