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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
88f268b5
Commit
88f268b5
authored
Dec 04, 2017
by
Eric Eastwood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace absolute URLs on related branches/MRs with relative url to avoid hostname
parent
e0f84130
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
app/views/projects/issues/show.html.haml
app/views/projects/issues/show.html.haml
+2
-2
changelogs/unreleased/40555-replace-absolute-urls-with-related-branches-to-avoid-hostname.yml
...absolute-urls-with-related-branches-to-avoid-hostname.yml
+6
-0
No files found.
app/views/projects/issues/show.html.haml
View file @
88f268b5
...
...
@@ -74,10 +74,10 @@
=
edited_time_ago_with_tooltip
(
@issue
,
placement:
'bottom'
,
html_class:
'issue-edited-ago js-issue-edited-ago'
)
#merge-requests
{
data:
{
url:
referenced_merge_requests_project_issue_
url
(
@project
,
@issue
)
}
}
#merge-requests
{
data:
{
url:
referenced_merge_requests_project_issue_
path
(
@project
,
@issue
)
}
}
// This element is filled in using JavaScript.
#related-branches
{
data:
{
url:
related_branches_project_issue_
url
(
@project
,
@issue
)
}
}
#related-branches
{
data:
{
url:
related_branches_project_issue_
path
(
@project
,
@issue
)
}
}
// This element is filled in using JavaScript.
.content-block.emoji-block
...
...
changelogs/unreleased/40555-replace-absolute-urls-with-related-branches-to-avoid-hostname.yml
0 → 100644
View file @
88f268b5
---
title
:
Fix related branches/Merge requests failing to load when the hostname setting
is changed
merge_request
:
author
:
type
:
fixed
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