Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
1cb1c5ac
Commit
1cb1c5ac
authored
Jun 12, 2017
by
NGPixel
Committed by
Nicolas Giard
Jul 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: Path with slash display issue in Not Found error page
parent
879ca63b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
error-forbidden.pug
server/views/error-forbidden.pug
+1
-1
error-notexist.pug
server/views/error-notexist.pug
+2
-2
error.pug
server/views/error.pug
+1
-1
No files found.
server/views/error-forbidden.pug
View file @
1cb1c5ac
...
...
@@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs
.min.js')
script(type='text/javascript', src='/js/vendor
.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-forbidden')
...
...
server/views/error-notexist.pug
View file @
1cb1c5ac
...
...
@@ -18,13 +18,13 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs
.min.js')
script(type='text/javascript', src='/js/vendor
.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-notexist')
.container
a(href='/'): img(src='/images/logo.png')
h1
= message
h1
!{message}
h2= t('errors:notexistdetail')
a.button.is-amber.is-inverted.is-featured(href='/create/' + newpath)= t('errors:actions.create')
a.button.is-amber.is-inverted(href='/')= t('errors:actions.gohome')
server/views/error.pug
View file @
1cb1c5ac
...
...
@@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs
.min.js')
script(type='text/javascript', src='/js/vendor
.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-error')
...
...
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