Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.html.haml « issues « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfc423da57aadaa8f09034747a043daccb32d797 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- @can_bulk_update = can?(current_user, :admin_issue, @project)

- page_title _("Issues")
- new_issue_email = @project.new_issuable_address(current_user, 'issue')

= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@project.name} issues")

.js-projects-issues-root{ data: { can_edit: can?(current_user, :admin_project, @project).to_s,
  is_jira_configured: @project.jira_service.present?.to_s,
  issues_path: project_issues_path(@project),
  project_path: @project.full_path } }

- if project_issues(@project).exists?
  .top-area
    = render 'shared/issuable/nav', type: :issues
    = render "projects/issues/nav_btns"
  = render 'shared/issuable/search_bar', type: :issues

  - if @can_bulk_update
    = render 'shared/issuable/bulk_update_sidebar', type: :issues

  .issues-holder
    = render 'issues'
    - if new_issue_email
      = render 'projects/issuable_by_email', email: new_issue_email, issuable_type: 'issue'
- else
  - new_project_issue_button_path = @project.archived? ? false : new_project_issue_path(@project)
  = render 'shared/empty_states/issues', new_project_issue_button_path: new_project_issue_button_path, show_import_button: true