项目版本库标题改成用户名加版本库名

This commit is contained in:
huang 2016-11-18 17:08:36 +08:00
parent b1b456e63e
commit 7f1d12de04
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
<div class="fl"><h2 class="project_h2_repository"> <div class="fl"><h2 class="project_h2_repository">
<div class="git_usr_title"> <div class="git_usr_title">
<%=link_to @project.owner, user_path(@project.owner), :class => "repository-title-dec" %> / <%= link_to @project.name, project_path(@project), :class => "repository-title-dec" %> <%=link_to @project.owner, user_path(@project.owner), :class => "repository-title-dec" %> /
<%=link_to @repository.identifier,({:controller => 'repositories', :action => 'show', :id => @project, :repository_id => gitlab_repository(@project).try(:identifier)}), :class => "repository-title-dec" %>
</div></h2> </div></h2>
</div> </div>