This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Improve 404 error message (
#10214
)
master
guillep2k
GitHub
5 years ago
parent
b5418a6443
commit
069a96ebe2
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
2 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
options/locale/locale_en-US.ini
+1
-0
templates/status/404.tmpl
+ 2
- 0
options/locale/locale_en-US.ini
View File
@@ -79,6 +79,8 @@ write = Write
preview = Preview
loading = Loading…
error404 = The page you are trying to reach either <strong>does not exist</strong> or <strong>you are not authorized</strong> to view it.
[startpage]
app_desc = A painless, self-hosted Git service
install = Easy to install
+ 1
- 0
templates/status/404.tmpl
View File
@@ -4,6 +4,7 @@
<p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p>
<div class="ui divider"></div>
<br>
<p>{{.i18n.Tr "error404" | Safe}}
{{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}}
</div>
{{template "base/footer" .}}
Write
Preview
Loading…
Cancel
Save