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
ff61c5a8
Commit
ff61c5a8
authored
Sep 24, 2020
by
Axel García
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable gfm_form on new epic form
This is to enable suggestions on the description field.
parent
bacd3048
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
ee/app/controllers/groups/autocomplete_sources_controller.rb
ee/app/controllers/groups/autocomplete_sources_controller.rb
+3
-4
ee/app/views/groups/epics/new.html.haml
ee/app/views/groups/epics/new.html.haml
+2
-0
No files found.
ee/app/controllers/groups/autocomplete_sources_controller.rb
View file @
ff61c5a8
...
...
@@ -46,10 +46,9 @@ class Groups::AutocompleteSourcesController < Groups::ApplicationController
# rubocop: disable CodeReuse/ActiveRecord
def
target
case
params
[
:type
]
&
.
downcase
when
'epic'
EpicsFinder
.
new
(
current_user
,
group_id:
@group
.
id
).
find_by
(
iid:
params
[
:type_id
])
end
QuickActions
::
TargetService
.
new
(
nil
,
current_user
,
group:
@group
)
.
execute
(
params
[
:type
],
params
[
:type_id
])
end
# rubocop: enable CodeReuse/ActiveRecord
end
ee/app/views/groups/epics/new.html.haml
View file @
ff61c5a8
-
@gfm_form
=
true
-
@noteable
=
Epic
.
new
-
add_to_breadcrumbs
_
(
"Epics"
),
group_epics_path
(
@group
)
-
breadcrumb_title
_
(
"New"
)
-
page_title
_
(
"New epic"
)
...
...
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