Fixed protected branches and file edit
This commit is contained in:
parent
afbdbb0c95
commit
ef5b36eaaf
9 changed files with 21 additions and 20 deletions
|
@ -36,7 +36,7 @@
|
|||
%td
|
||||
= link_to project_commits_path(@project, branch.name) do
|
||||
%strong= branch.name
|
||||
- if branch.name == @project.root_ref
|
||||
- if @project.root_ref?(branch.name)
|
||||
%span.label default
|
||||
%td
|
||||
- if branch.commit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue