index.html.haml 1.0 KB
Newer Older
1 2 3 4
= 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")

5
.append-bottom-10
6 7
  .pull-right
    .pull-left
8 9
      - if current_user
        .hidden-xs.pull-left
V
Vinnie Okada 已提交
10
          = link_to namespace_project_issues_path(@project.namespace, @project, :atom, { private_token: current_user.private_token }), class: 'btn append-right-10' do
11 12
            %i.fa.fa-rss

13
      = render 'shared/issuable_search_form', path: namespace_project_issues_path(@project.namespace, @project)
14

15
    - if can? current_user, :write_issue, @project
V
Vinnie Okada 已提交
16
      = link_to new_namespace_project_issue_path(@project.namespace, @project, issue: { assignee_id: params[:assignee_id], milestone_id: params[:milestone_id]}), class: "btn btn-new pull-left", title: "New Issue", id: "new_issue_link" do
17 18 19
        %i.fa.fa-plus
        New Issue

20 21
  = render 'shared/issuable_filter'

22 23
.issues-holder
  = render "issues"