=link_topromote_project_milestone_path(@milestone.project,@milestone),title: "Promote to Group Milestone",class: 'btn btn-grouped',data: {confirm: "Promoting #{@milestone.title} will make it available for all projects inside #{@project.group.name}. Existing project milestones with the same name will be merged. This action cannot be reversed.",toggle: "tooltip"},method: :postdo
=link_topromote_project_label_path(label.project,label),title: "Promote to Group Label",class: 'btn btn-transparent btn-action',data: {confirm: "Promoting #{label.title} will make it available for all projects inside #{label.project.group.name}. Existing project labels with the same name will be merged. This action cannot be reversed.",toggle: "tooltip"},method: :postdo
%button.js-promote-project-label-button.btn.btn-transparent.btn-action.has-tooltip{title: _('Promote to Group Label'),
=link_topromote_project_milestone_path(milestone.project,milestone),title: "Promote to Group Milestone",class: 'btn btn-xs btn-grouped',data: {confirm: "Promoting #{milestone.title} will make it available for all projects inside #{@project.group.name}. Existing project milestones with the same name will be merged. This action cannot be reversed.",toggle: "tooltip"},method: :postdo
%button.js-promote-project-milestone-button.btn.btn-xs.btn-grouped.has-tooltip{title: _('Promote to Group Milestone'),