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
715cae38
Commit
715cae38
authored
Apr 16, 2019
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Move EE differences for
app/views/projects/issues/show.html.haml"
parent
0fba3751
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+1
-9
ee/app/views/projects/issues/_related_issues.html.haml
ee/app/views/projects/issues/_related_issues.html.haml
+9
-0
No files found.
app/views/projects/issues/show.html.haml
View file @
715cae38
...
...
@@ -77,15 +77,7 @@
=
edited_time_ago_with_tooltip
(
@issue
,
placement:
'bottom'
,
html_class:
'issue-edited-ago js-issue-edited-ago'
)
-
if
can?
(
current_user
,
:read_issue_link
,
@project
)
.js-related-issues-root
{
data:
{
endpoint:
project_issue_links_path
(
@project
,
@issue
),
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
help_path:
help_page_path
(
'user/project/issues/related_issues'
)
}
}
.related-issues-block
.card-slim
.card-header.panel-empty-heading.border-bottom-0
%h3
.card-title.mt-0.mb-0.h5
Related issues
=
render_if_exists
'projects/issues/related_issues'
#js-related-merge-requests
{
data:
{
endpoint:
api_v4_projects_issues_related_merge_requests_path
(
id:
@project
.
id
,
issue_iid:
@issue
.
iid
),
project_namespace:
@project
.
namespace
.
path
,
project_path:
@project
.
path
}
}
...
...
ee/app/views/projects/issues/_related_issues.html.haml
0 → 100644
View file @
715cae38
-
if
can?
(
current_user
,
:read_issue_link
,
@project
)
.js-related-issues-root
{
data:
{
endpoint:
project_issue_links_path
(
@project
,
@issue
),
can_add_related_issues:
"#{can?(current_user, :admin_issue_link, @issue)}"
,
help_path:
help_page_path
(
'user/project/issues/related_issues'
)
}
}
.related-issues-block
.card-slim
.card-header.panel-empty-heading.border-bottom-0
%h3
.card-title.mt-0.mb-0.h5
Related issues
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