2013-02-13 10:25:09 +00:00
|
|
|
- base = branch.name == @branch.name
|
|
|
|
%tr{:class => (base ? 'base' : '')}
|
|
|
|
%td.name= link_to branch.name, tree_path(@project, branch.name)
|
|
|
|
%td.actions
|
|
|
|
%ul.actions
|
|
|
|
- if base
|
|
|
|
%li.text= t('layout.projects.base_branch')
|
|
|
|
- else
|
|
|
|
%li
|
2013-02-14 06:56:18 +00:00
|
|
|
= link_to t('layout.projects.compare'), diff_path(@project, "#{@branch.name}...#{branch.name}")
|