Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
addbe85f
Commit
addbe85f
authored
Jun 17, 2020
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consolidate iterations feature flag usage
Also small UI fixup for the collapsed right sidebar
parent
b7c54d3b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/sidebar/components/iteration_select.vue
...ssets/javascripts/sidebar/components/iteration_select.vue
+2
-2
ee/app/views/shared/issuable/_iteration_select.html.haml
ee/app/views/shared/issuable/_iteration_select.html.haml
+1
-1
No files found.
ee/app/assets/javascripts/sidebar/components/iteration_select.vue
View file @
addbe85f
...
@@ -156,12 +156,12 @@ export default {
...
@@ -156,12 +156,12 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"mt-3"
>
<div>
<div
v-gl-tooltip
class=
"sidebar-collapsed-icon"
>
<div
v-gl-tooltip
class=
"sidebar-collapsed-icon"
>
<gl-icon
:size=
"16"
:aria-label=
"$options.iterationText"
name=
"iteration"
/>
<gl-icon
:size=
"16"
:aria-label=
"$options.iterationText"
name=
"iteration"
/>
<span
class=
"collapse-truncated-title"
>
{{
iteration
}}
</span>
<span
class=
"collapse-truncated-title"
>
{{
iteration
}}
</span>
</div>
</div>
<div
class=
"title hide-collapsed"
>
<div
class=
"title hide-collapsed
mt-3
"
>
{{
$options
.
iterationText
}}
{{
$options
.
iterationText
}}
<gl-button
<gl-button
v-if=
"canEdit"
v-if=
"canEdit"
...
...
ee/app/views/shared/issuable/_iteration_select.html.haml
View file @
addbe85f
-
if
@project
.
group
.
beta_
feature_available?
(
:iterations
)
&&
issuable_type
==
"issue"
-
if
Feature
.
enabled?
(
:group_iterations
,
@project
.
group
)
&&
@project
.
group
.
feature_available?
(
:iterations
)
&&
issuable_type
==
"issue"
.js-iteration-select
{
data:
{
can_edit:
can_edit
,
group_path:
group_path
,
project_path:
project_path
,
issue_iid:
issue_iid
}
}
.js-iteration-select
{
data:
{
can_edit:
can_edit
,
group_path:
group_path
,
project_path:
project_path
,
issue_iid:
issue_iid
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment