debian-mirror-gitlab/app/views/projects/issues/_nav_btns.html.haml

11 lines
705 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
= link_to params.merge(rss_url_options), class: 'btn btn-default append-right-10 has-tooltip', title: 'Subscribe' do
= icon('rss')
- if @can_bulk_update
2018-03-17 18:26:18 +05:30
= button_tag "Edit issues", class: "btn btn-default append-right-10 js-bulk-update-toggle"
2017-09-10 17:25:29 +05:30
= link_to "New issue", new_project_issue_path(@project,
2018-03-17 18:26:18 +05:30
issue: { assignee_id: finder.assignee.try(:id),
milestone_id: finder.milestones.first.try(:id) }),
2017-09-10 17:25:29 +05:30
class: "btn btn-new",
title: "New issue",
id: "new_issue_link"