13 lines
436 B
Plaintext
13 lines
436 B
Plaintext
.top-tabs
|
|
= link_to project_merge_requests_path(@project), :class => "tab #{'active' if current_page?(project_merge_requests_path(@project)) }" do
|
|
%span
|
|
Merge Requests
|
|
|
|
|
|
- if current_page?(project_merge_requests_path(@project))
|
|
- if can? current_user, :write_merge_request, @project
|
|
= link_to new_project_merge_request_path(@project), :class => "add_new", :title => "New Merge request" do
|
|
Add new
|
|
|
|
|