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
f0f99fc3
Commit
f0f99fc3
authored
Jan 14, 2022
by
Andrew Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable autocomplete on cadence iteration create/edit pages
Changelog: added EE: true
parent
0dc65764
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
ee/app/controllers/concerns/iteration_cadences_actions.rb
ee/app/controllers/concerns/iteration_cadences_actions.rb
+5
-0
ee/app/views/groups/iteration_cadences/index.html.haml
ee/app/views/groups/iteration_cadences/index.html.haml
+1
-0
ee/app/views/projects/iteration_cadences/index.html.haml
ee/app/views/projects/iteration_cadences/index.html.haml
+1
-0
No files found.
ee/app/controllers/concerns/iteration_cadences_actions.rb
View file @
f0f99fc3
...
...
@@ -6,6 +6,7 @@ module IterationCadencesActions
included
do
before_action
:check_cadences_available!
before_action
:authorize_show_cadence!
,
only:
[
:index
]
before_action
:set_noteable_type
,
only:
[
:index
]
feature_category
:team_planning
end
...
...
@@ -21,4 +22,8 @@ module IterationCadencesActions
def
authorize_show_cadence!
render_404
unless
can?
(
current_user
,
:read_iteration_cadence
,
group
)
end
def
set_noteable_type
@noteable_type
=
Iteration
# rubocop:disable Gitlab/ModuleWithInstanceVariables
end
end
ee/app/views/groups/iteration_cadences/index.html.haml
View file @
f0f99fc3
-
@gfm_form
=
true
-
page_title
s_
(
'Iterations|Iteration cadences'
)
.js-iteration-cadence-app
{
data:
{
full_path:
@group
.
full_path
,
...
...
ee/app/views/projects/iteration_cadences/index.html.haml
View file @
f0f99fc3
-
@gfm_form
=
true
-
page_title
s_
(
'Iterations|Iteration cadences'
)
.js-iteration-cadence-app
{
data:
{
full_path:
@project
.
full_path
,
...
...
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