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
e87d2f4f
Commit
e87d2f4f
authored
Jul 20, 2020
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Started adding startupjs to issue page
parent
e6934fac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
app/views/projects/issues/_discussion.html.haml
app/views/projects/issues/_discussion.html.haml
+2
-0
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-0
No files found.
app/views/projects/issues/_discussion.html.haml
View file @
e87d2f4f
-
add_page_startup_api_call
discussions_path
(
@issue
)
-
@gfm_form
=
true
-
content_for
:note_actions
do
...
...
app/views/projects/issues/show.html.haml
View file @
e87d2f4f
...
...
@@ -82,6 +82,7 @@
#js-related-merge-requests
{
data:
{
endpoint:
expose_path
(
api_v4_projects_issues_related_merge_requests_path
(
id:
@project
.
id
,
issue_iid:
@issue
.
iid
)),
project_namespace:
@project
.
namespace
.
path
,
project_path:
@project
.
path
}
}
-
if
can?
(
current_user
,
:download_code
,
@project
)
-
add_page_startup_api_call
related_branches_project_issue_path
(
@project
,
@issue
)
#related-branches
{
data:
{
url:
related_branches_project_issue_path
(
@project
,
@issue
)
}
}
-# This element is filled in using JavaScript.
...
...
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