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
Boxiang Sun
gitlab-ce
Commits
7f914ec7
Commit
7f914ec7
authored
Dec 18, 2016
by
Alex Braha Stoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tip about specifying the full path when creating new wiki pages
parent
5607bb8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
app/assets/stylesheets/pages/wiki.scss
app/assets/stylesheets/pages/wiki.scss
+8
-0
app/views/projects/wikis/_new.html.haml
app/views/projects/wikis/_new.html.haml
+4
-0
No files found.
app/assets/stylesheets/pages/wiki.scss
View file @
7f914ec7
.new-wiki-page
{
.new-wiki-page-slug-tip
{
display
:
inline-block
;
max-width
:
100%
;
margin-top
:
5px
;
}
}
.title
.edit-wiki-header
{
.title
.edit-wiki-header
{
width
:
780px
;
width
:
780px
;
margin-left
:
auto
;
margin-left
:
auto
;
...
...
app/views/projects/wikis/_new.html.haml
View file @
7f914ec7
...
@@ -13,5 +13,9 @@
...
@@ -13,5 +13,9 @@
=
label_tag
:new_wiki_path
do
=
label_tag
:new_wiki_path
do
%span
Page slug
%span
Page slug
=
text_field_tag
:new_wiki_path
,
nil
,
placeholder:
'how-to-setup'
,
class:
'form-control'
,
required:
true
,
:'data-wikis-path'
=>
namespace_project_wikis_path
(
@project
.
namespace
,
@project
),
autofocus:
true
=
text_field_tag
:new_wiki_path
,
nil
,
placeholder:
'how-to-setup'
,
class:
'form-control'
,
required:
true
,
:'data-wikis-path'
=>
namespace_project_wikis_path
(
@project
.
namespace
,
@project
),
autofocus:
true
%span
.new-wiki-page-slug-tip
%i
.fa.fa-lightbulb-o
Tip: You can specify the full path for the new file.
We will automatically create any missing directories.
.form-actions
.form-actions
=
button_tag
'Create Page'
,
class:
'build-new-wiki btn btn-create'
=
button_tag
'Create Page'
,
class:
'build-new-wiki btn btn-create'
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