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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a5379ef9
Commit
a5379ef9
authored
Jul 05, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaner help page
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
fe2cb593
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
app/views/help/index.html.haml
app/views/help/index.html.haml
+12
-12
No files found.
app/views/help/index.html.haml
View file @
a5379ef9
.jumbotron
%div
%h
2
%h
1
GitLab
GitLab
%span
=
Gitlab
::
VERSION
%span
=
Gitlab
::
VERSION
%small
=
Gitlab
::
REVISION
%small
=
Gitlab
::
REVISION
...
@@ -16,7 +16,17 @@
...
@@ -16,7 +16,17 @@
%br
%br
Read more about GitLab at
#{
link_to
"www.gitlab.com"
,
"https://www.gitlab.com/"
,
target:
"_blank"
}
.
Read more about GitLab at
#{
link_to
"www.gitlab.com"
,
"https://www.gitlab.com/"
,
target:
"_blank"
}
.
%hr
.row
.row
.col-md-8
.documentation-index
=
preserve
do
-
readme_text
=
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"README.md"
))
-
text
=
readme_text
.
dup
-
readme_text
.
scan
(
/\]\(([^(]+)\)/
)
{
|
match
|
text
.
gsub!
(
match
.
first
,
"help/
#{
match
.
first
}
"
)
}
=
markdown
text
.col-md-4
.col-md-4
.panel.panel-default
.panel.panel-default
.panel-heading
.panel-heading
...
@@ -32,13 +42,3 @@
...
@@ -32,13 +42,3 @@
%li
%li
Use
Use
=
link_to
"shortcuts"
,
'#'
,
onclick:
"new Shortcuts()"
=
link_to
"shortcuts"
,
'#'
,
onclick:
"new Shortcuts()"
.col-md-8
.panel.panel-default.documentation-index
.panel-heading
Documentation
.panel-body
=
preserve
do
-
readme_text
=
File
.
read
(
Rails
.
root
.
join
(
"doc"
,
"README.md"
))
-
text
=
readme_text
.
dup
-
readme_text
.
scan
(
/\]\(([^(]+)\)/
)
{
|
match
|
text
.
gsub!
(
match
.
first
,
"help/
#{
match
.
first
}
"
)
}
=
markdown
text
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