debian-mirror-gitlab/app/views/shared/issuable/_milestone_dropdown.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
494 B
Text
Raw Normal View History

2023-01-13 00:05:48 +05:30
- name = local_assigns.fetch(:name, nil)
2016-11-03 12:29:30 +05:30
- project = @target_project || @project
2018-11-08 19:23:39 +05:30
- selected = local_assigns.fetch(:selected, nil)
2023-01-13 00:05:48 +05:30
.js-milestone-dropdown-root{ data: { can_admin_milestone: can?(current_user, :admin_milestone, project),
full_path: project.full_path,
input_name: name,
milestone_id: selected.try(:id),
milestone_title: selected.try(:title),
project_milestones_path: project_milestones_path(project),
workspace_type: Namespaces::ProjectNamespace.sti_name.downcase } }