gitlabhq/app/views/merge_requests/_head.html.haml

13 lines
436 B
Plaintext
Raw Normal View History

.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
2012-01-20 08:48:48 +01:00
= link_to new_project_merge_request_path(@project), :class => "add_new", :title => "New Merge request" do
Add new