diff --git a/app/views/git/shared/_info.html.haml b/app/views/git/shared/_info.html.haml index 20ed2f4d8..f1ccc0698 100644 --- a/app/views/git/shared/_info.html.haml +++ b/app/views/git/shared/_info.html.haml @@ -6,14 +6,18 @@ \: = @project.name + %p + %b + = t("activerecord.attributes.project.repository") + \: + = git_repo_url @project.git_repo_name + - if @current_tag.present? %p %b Tag: - = link_to @current_tag.name, tree_path(@project, :treeish => @current_tag.name) - if @current_branch.present? %p %b Branch: - - = link_to @current_branch.name, tree_path(@project, :treeish => @current_branch.name) \ No newline at end of file + = link_to @current_branch.name, tree_path(@project, :treeish => @current_branch.name) diff --git a/app/views/git/shared/_navigation.html.haml b/app/views/git/shared/_navigation.html.haml index c74d112c5..cb135dea6 100644 --- a/app/views/git/shared/_navigation.html.haml +++ b/app/views/git/shared/_navigation.html.haml @@ -1,9 +1,13 @@ -.secondary-navigation +.secondary-navigation %ul.wat-cf - %li.first.active= link_to t("layout.git.repositories.source"), project_repo_path(@project) - %li= link_to t("layout.git.repositories.commits"), commits_path(@project, :treeish => @treeish) + %li.first= link_to t("layout.projects.list"), projects_path + %li= link_to t("layout.projects.new"), new_project_path + %li= link_to t("layout.projects.show"), project_path(@project) + %li.active= link_to t("layout.git.repositories.source"), project_repo_path(@project) + %li= link_to t("layout.projects.build"), build_project_path(@project) %ul#git_submenu.sub-wat-cf.wat-cf + %li= link_to t("layout.git.repositories.commits"), commits_path(@project, :treeish => @treeish) %li %a{ :href => "#", :onmouseover => "menu.open('branches')", :onmouseout => "menu.close_time()" } Branches #branches{ :onmouseover => "menu.cancel_close_time()", :onmouseout => "menu.close_time()" }