gitlab-org--gitlab-foss/app/views/shared/repo/_repo.html.haml
2017-08-15 19:53:41 +00:00

7 lines
382 B
Text

#repo{ data: { url: content_url,
project_name: project.name,
refs_url: refs_project_path(project, format: :json),
project_url: project_path(project),
project_id: project.id,
can_commit: (!!can_push_branch?(project, @ref)).to_s,
on_top_of_branch: (!!on_top_of_branch?(project, @ref)).to_s } }