Añade el plugin Redmine Git Hosting 5.0.0

This commit is contained in:
Manuel Cillero 2021-03-20 13:29:16 +01:00
parent cfa0d58b18
commit a3bddad233
458 changed files with 30396 additions and 1 deletions

View file

@ -0,0 +1,16 @@
- if @project.module_enabled?(:repository) && \
@project.repository.is_a?(Repository::Xitolite) && \
User.current.allowed_to?(:view_changesets, @project)
.git_hosting
h3
= @project.repositories.count > 1 ? l(:label_repository_plural) : l(:label_repository)
= render partial: 'common/git_urls', locals: { repositories: @project.gitolite_repos }
- if @project.repositories.count > 1
.clear-both
p
= link_to l(:label_see_other_repositories), { controller: '/repositories',
action: 'show',
id: @project,
repository_id: @project.repository.identifier_param,
rev: nil,
path: nil }