mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Make the following changes to deal with new behavior in Rails 4.1.2: * Use nested resources to avoid slashes in arguments to path helpers.
17 lines
569 B
Plaintext
17 lines
569 B
Plaintext
- if @branches.any?
|
|
%span
|
|
- branch = commit_default_branch(@project, @branches)
|
|
= link_to(namespace_project_tree_path(@project.namespace, @project, branch)) do
|
|
%span.label.label-gray
|
|
%i.fa.fa-code-fork
|
|
= branch
|
|
- if @branches.any? || @tags.any?
|
|
= link_to("#", class: "js-details-expand") do
|
|
%span.label.label-gray
|
|
\...
|
|
%span.js-details-content.hide
|
|
- if @branches.any?
|
|
= commit_branches_links(@project, @branches)
|
|
- if @tags.any?
|
|
= commit_tags_links(@project, @tags)
|