Commit c5160c11 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'ce-3727-fe-labels-for-epics' into 'master'

CE Port: Add `js-` classes in LabelsSelect component

See merge request gitlab-org/gitlab-ce!17558
parents 2d00d6d4 2169da03
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
</script> </script>
<template> <template>
<div class="block labels"> <div class="block labels js-labels-block">
<dropdown-value-collapsed <dropdown-value-collapsed
v-if="showCreate" v-if="showCreate"
:labels="context.labels" :labels="context.labels"
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
</dropdown-value> </dropdown-value>
<div <div
v-if="canEdit" v-if="canEdit"
class="selectbox" class="selectbox js-selectbox"
style="display: none;" style="display: none;"
> >
<dropdown-hidden-input <dropdown-hidden-input
......
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
</script> </script>
<template> <template>
<div class="hide-collapsed value issuable-show-labels"> <div class="hide-collapsed value issuable-show-labels js-value">
<span <span
v-if="isEmpty" v-if="isEmpty"
class="text-secondary" class="text-secondary"
......
- page_title 'Labels' - page_title 'Labels'
- issuables = ['issues', 'merge requests']
.top-area.adjust .top-area.adjust
.nav-text .nav-text
Labels can be applied to issues and merge requests. Group labels are available for any project within the group. = _("Labels can be applied to %{features}. Group labels are available for any project within the group.") % { features: issuables.to_sentence }
.nav-controls .nav-controls
- if can?(current_user, :admin_label, @group) - if can?(current_user, :admin_label, @group)
...@@ -16,4 +18,4 @@ ...@@ -16,4 +18,4 @@
= paginate @labels, theme: 'gitlab' = paginate @labels, theme: 'gitlab'
- else - else
.nothing-here-block .nothing-here-block
No labels created yet. = _("No labels created yet.")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment