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

27 lines
1.1 KiB
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Issues"
2015-09-25 12:07:36 +05:30
= render "header_title"
2015-09-11 14:41:01 +05:30
= content_for :meta_tags do
- if current_user
= auto_discovery_link_tag(:atom, namespace_project_issues_url(@project.namespace, @project, :atom, private_token: current_user.private_token), title: "#{@project.name} issues")
2015-09-25 12:07:36 +05:30
.project-issuable-filter
.controls
2015-04-26 12:48:37 +05:30
.pull-left
- if current_user
.hidden-xs.pull-left
= link_to namespace_project_issues_path(@project.namespace, @project, :atom, { private_token: current_user.private_token }), class: 'btn append-right-10' do
%i.fa.fa-rss
2015-09-11 14:41:01 +05:30
= render 'shared/issuable/search_form', path: namespace_project_issues_path(@project.namespace, @project)
2015-04-26 12:48:37 +05:30
2015-09-11 14:41:01 +05:30
- if can? current_user, :create_issue, @project
= link_to new_namespace_project_issue_path(@project.namespace, @project, issue: { assignee_id: @issuable_finder.assignee.try(:id), milestone_id: @issuable_finder.milestones.try(:first).try(:id) }), class: "btn btn-new pull-left", title: "New Issue", id: "new_issue_link" do
2015-04-26 12:48:37 +05:30
%i.fa.fa-plus
New Issue
2015-09-11 14:41:01 +05:30
= render 'shared/issuable/filter', type: :issues
2015-04-26 12:48:37 +05:30
.issues-holder
= render "issues"