Improve 404 error message (#10214)
This commit is contained in:
		
							parent
							
								
									b5418a6443
								
							
						
					
					
						commit
						069a96ebe2
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		|  | @ -79,6 +79,8 @@ write = Write | ||||||
| preview = Preview | preview = Preview | ||||||
| loading = Loading… | 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] | [startpage] | ||||||
| app_desc = A painless, self-hosted Git service | app_desc = A painless, self-hosted Git service | ||||||
| install = Easy to install | install = Easy to install | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
| 	<p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> | 	<p style="margin-top: 100px"><img src="{{StaticUrlPrefix}}/img/404.png" alt="404"/></p> | ||||||
| 	<div class="ui divider"></div> | 	<div class="ui divider"></div> | ||||||
| 	<br> | 	<br> | ||||||
|  | 	<p>{{.i18n.Tr "error404" | Safe}} | ||||||
| 	{{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}} | 	{{if .ShowFooterVersion}}<p>Application Version: {{AppVer}}</p>{{end}} | ||||||
| </div> | </div> | ||||||
| {{template "base/footer" .}} | {{template "base/footer" .}} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue