Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_repo.html.haml « repo « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 919f19f2c23a3f6c1a83cfb486e20ba1eff134df (plain)
1
2
3
4
5
6
7
8
9
#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,
               blob_url: namespace_project_blob_path(project.namespace, project, '{{branch}}'),
               new_mr_template_url: namespace_project_new_merge_request_path(project.namespace, project, merge_request: { source_branch: '{{source_branch}}' }),
               can_commit: (!!can_push_branch?(project, @ref)).to_s,
               on_top_of_branch: (!!on_top_of_branch?(project, @ref)).to_s } }