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
516e70ae
Commit
516e70ae
authored
May 26, 2017
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use links endpoint instead of related_issues
parent
6e4b1f06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+2
-1
No files found.
app/views/projects/issues/show.html.haml
View file @
516e70ae
...
...
@@ -5,6 +5,7 @@
-
can_update_issue
=
can?
(
current_user
,
:update_issue
,
@issue
)
-
can_report_spam
=
@issue
.
submittable_as_spam_by?
(
current_user
)
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_vue'
)
=
webpack_bundle_tag
(
'issuable'
)
.clearfix.detail-page-header
...
...
@@ -67,7 +68,7 @@
=
edited_time_ago_with_tooltip
(
@issue
,
placement:
'bottom'
,
html_class:
'issue-edited-ago js-issue-edited-ago'
)
.js-related-issues-root
{
data:
{
endpoint:
namespace_project_issue_
related_issue
s_path
(
@project
.
namespace
,
@project
,
@issue
),
.js-related-issues-root
{
data:
{
endpoint:
namespace_project_issue_
link
s_path
(
@project
.
namespace
,
@project
,
@issue
),
namespace:
@project
.
namespace
.
path
,
project:
@project
.
path
,
can_add_related_issues:
"#{can?(current_user, :update_issue, @issue)}"
,
...
...
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