Skip to content
代码片段 群组 项目
未验证 提交 1135adef 编辑于 作者: Ash McKenzie's avatar Ash McKenzie
浏览文件

Fix pathing for error images

上级 6a4c474b
No related branches found
No related tags found
加载中
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<body> <body>
<div class="error-container"> <div class="error-container">
<img src='./-/error-illustrations/error-404-lg.svg' alt="404 error"/> <img src='/-/error-illustrations/error-404-lg.svg' alt="404 error"/>
<h1>404: Page not found</h1> <h1>404: Page not found</h1>
<p>Make sure the address is correct and the page has not moved.</p> <p>Make sure the address is correct and the page has not moved.</p>
<p>Please contact your GitLab administrator if you think this is a mistake.</p> <p>Please contact your GitLab administrator if you think this is a mistake.</p>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<body> <body>
<div class="error-container"> <div class="error-container">
<img src='./-/error-illustrations/error-422-lg.svg' alt="422 error"/> <img src='/-/error-illustrations/error-422-lg.svg' alt="422 error"/>
<h1>422: The change you requested was rejected</h1> <h1>422: The change you requested was rejected</h1>
<p>Make sure you have access to the thing you tried to change.</p> <p>Make sure you have access to the thing you tried to change.</p>
<p>Please contact your GitLab administrator if you think this is a mistake.</p> <p>Please contact your GitLab administrator if you think this is a mistake.</p>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<body> <body>
<div class="error-container"> <div class="error-container">
<img src='./-/error-illustrations/error-500-lg.svg' alt="500 error"/> <img src='/-/error-illustrations/error-500-lg.svg' alt="500 error"/>
<h1>500: We're sorry, something went wrong on our end</h1> <h1>500: We're sorry, something went wrong on our end</h1>
<!-- REQUEST_ID --> <!-- REQUEST_ID -->
<p>Try refreshing the page, or going back and attempting the action again.</p> <p>Try refreshing the page, or going back and attempting the action again.</p>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<body> <body>
<div class="error-container"> <div class="error-container">
<img src='./-/error-illustrations/error-502-lg.svg' alt="502 error"/> <img src='/-/error-illustrations/error-502-lg.svg' alt="502 error"/>
<h1>HTTP 502: Waiting for GitLab to boot</h1> <h1>HTTP 502: Waiting for GitLab to boot</h1>
<p>It can take up to a few minutes for GitLab to boot completely.</p> <p>It can take up to a few minutes for GitLab to boot completely.</p>
<p>This page will automatically reload every 5 seconds.</p> <p>This page will automatically reload every 5 seconds.</p>
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
<body> <body>
<div class="error-container"> <div class="error-container">
<img src='./-/error-illustrations/error-503-lg.svg' alt="503 error"/> <img src='/-/error-illustrations/error-503-lg.svg' alt="503 error"/>
<h1>503: We're sorry, GitLab is currently unavailable</h1> <h1>503: We're sorry, GitLab is currently unavailable</h1>
<p>Try refreshing the page, or going back and attempting the action again.</p> <p>Try refreshing the page, or going back and attempting the action again.</p>
<p>Please contact your GitLab administrator if this problem persists.</p> <p>Please contact your GitLab administrator if this problem persists.</p>
......
...@@ -211,7 +211,7 @@ def self.parse(str) ...@@ -211,7 +211,7 @@ def self.parse(str)
"</div>" "</div>"
end end
let(:error_500_str) { '<head><title>Something went wrong (500)</title></head><body><img src="./-/error-illustrations/error-500-lg.svg" alt="500 error"><h1>500: We\'re sorry, something went wrong on our end</h1></body>' } let(:error_500_str) { '<head><title>Something went wrong (500)</title></head><body><img src="/-/error-illustrations/error-500-lg.svg" alt="500 error"><h1>500: We\'re sorry, something went wrong on our end</h1></body>' }
let(:project_name_500_str) { "<head><title>Project</title></head><h1 class=\"home-panel-title gl-mt-3 gl-mb-2\" itemprop=\"name\">qa-test-2022-05-25-12-12-16-d4500c2e79c37289</h1>" } let(:project_name_500_str) { "<head><title>Project</title></head><h1 class=\"home-panel-title gl-mt-3 gl-mb-2\" itemprop=\"name\">qa-test-2022-05-25-12-12-16-d4500c2e79c37289</h1>" }
let(:backtrace_str) { "<head><title>Error::Backtrace</title></head><body><section class=\"backtrace\">foo</section></body>" } let(:backtrace_str) { "<head><title>Error::Backtrace</title></head><body><section class=\"backtrace\">foo</section></body>" }
let(:no_error_str) { "<head><title>Nothing wrong here</title></head><body>no 404 or 500 or backtrace</body>" } let(:no_error_str) { "<head><title>Nothing wrong here</title></head><body>no 404 or 500 or backtrace</body>" }
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册