2016-06-10 09:17:28 -04:00
|
|
|
- @no_container = true
|
2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Issues"
|
2016-06-10 09:17:28 -04:00
|
|
|
= render "projects/issues/head"
|
2015-09-17 06:16:24 -04:00
|
|
|
|
2015-04-21 10:31:40 -04:00
|
|
|
= 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")
|
|
|
|
|
2016-06-24 11:37:49 -04:00
|
|
|
%div{ class: (container_class) }
|
2016-06-24 11:43:04 -04:00
|
|
|
- if @project.issues.any?
|
2016-06-24 11:37:49 -04:00
|
|
|
.top-area
|
|
|
|
= render 'shared/issuable/nav', type: :issues
|
|
|
|
.nav-controls
|
|
|
|
- if current_user
|
|
|
|
= link_to namespace_project_issues_path(@project.namespace, @project, :atom, { private_token: current_user.private_token }), class: 'btn append-right-10' do
|
|
|
|
= icon('rss')
|
|
|
|
%span.icon-label
|
|
|
|
Subscribe
|
|
|
|
= render 'shared/issuable/search_form', path: namespace_project_issues_path(@project.namespace, @project)
|
|
|
|
- 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", title: "New Issue", id: "new_issue_link" do
|
|
|
|
New Issue
|
|
|
|
= render 'shared/issuable/filter', type: :issues
|
|
|
|
|
|
|
|
.issues-holder
|
|
|
|
= render "issues"
|
|
|
|
- else
|
|
|
|
.blank-state.blank-state-welcome
|
|
|
|
%h2.blank-state-welcome-title
|
|
|
|
Welcome to GitLab Issues
|
|
|
|
%p.blank-state-text
|
|
|
|
Code, test, and deploy together
|
|
|
|
.blank-state
|
|
|
|
.blank-state-icon
|
|
|
|
= navbar_icon("issues", size: 50)
|
|
|
|
%h3.blank-state-title
|
|
|
|
You don't have any issues right now.
|
|
|
|
%p.blank-state-text
|
|
|
|
Issues is the best way to track you project progress
|
2016-06-10 09:17:28 -04:00
|
|
|
- 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", title: "New Issue", id: "new_issue_link" do
|
|
|
|
New Issue
|