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

_assignee.html.haml « sidebar « components « boards « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7981702556509eafc0a68cdcadf1e1a8a546a765 (plain)
1
2
3
4
5
6
7
8
9
10
- dropdown_options = assignees_dropdown_options('issue')
- relative_url = Gitlab.config.gitlab.relative_url_root || '/'

.block.assignee{ ref: "assigneeBlock" }
  %template{ "v-if" => "issue.assignees" }
    %sidebar-assignees-widget{ ":iid" => "String(issue.iid)",
      ":full-path" => "issue.path.split('/-/')[0].substring(1).replace(`#{relative_url}`, '')",
      ":initial-assignees" => "issue.assignees",
      ":allow-multiple-assignees" => "!Boolean(#{dropdown_options[:data][:"max-select"]})",
      "@assignees-updated" => "setAssignees" }