parent
57e48d4921
commit
c7204576cc
|
@ -258,7 +258,7 @@ update
|
|||
ip = RepositoriesHelper::REPO_IP_ADDRESS
|
||||
gitlab_address = RepositoriesHelper::REPO_GITLAB_ADDRESS
|
||||
if @repository.type.to_s=="Repository::Gitlab"
|
||||
@repos_url = "http://"+gitlab_address.to_s+"/"+repository_creater(@repository).lastname.to_s+"/"+@repository.identifier+"."+"git"
|
||||
@repos_url = "http://"+gitlab_address.to_s+"/"+@project.owner.to_s+"/"+@repository.identifier+"."+"git"
|
||||
else
|
||||
@repos_url = "http://"+@repository.login.to_s+"_"+@repository.identifier.to_s+"@"+ip.to_s+
|
||||
@repository.url.slice(project_path_cut, @repository.url.length).to_s
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:path => nil, :rev => @rev }
|
||||
%>
|
||||
/
|
||||
<%=link_to repository_creater(@repository).show_name, user_path(repository_creater(@repository)) %>
|
||||
<%=link_to @project.owner, user_path(@project.owner) %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue