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-13 19:12:07 +00:00
|
|
|
= link_to t('layout.projects.compare'), diff_path(@project, "#{CGI.escape(@branch.name)}...#{CGI.escape(branch.name)}")
|