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
Jérome Perrin
gitlab-ce
Commits
58a58178
Commit
58a58178
authored
Aug 24, 2012
by
Riyad Preukschas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update forms to show consistent link to GFM.
parent
2e836fa4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
app/assets/stylesheets/sections/notes.scss
app/assets/stylesheets/sections/notes.scss
+4
-0
app/views/issues/_form.html.haml
app/views/issues/_form.html.haml
+1
-1
app/views/milestones/_form.html.haml
app/views/milestones/_form.html.haml
+1
-1
app/views/notes/_form.html.haml
app/views/notes/_form.html.haml
+2
-3
app/views/wikis/_form.html.haml
app/views/wikis/_form.html.haml
+3
-2
No files found.
app/assets/stylesheets/sections/notes.scss
View file @
58a58178
...
...
@@ -38,6 +38,10 @@
}
}
#preview-note
{
margin-bottom
:
0
;
}
.note
{
padding
:
8px
0
;
border-bottom
:
1px
solid
#eee
;
...
...
app/views/issues/_form.html.haml
View file @
58a58178
...
...
@@ -38,7 +38,7 @@
=
f
.
label
:description
,
"Details"
.input
=
f
.
text_area
:description
,
maxlength:
2000
,
class:
"xxlarge"
,
rows:
14
%p
.hint
Markdown is enabled
.
%p
.hint
Issues are parsed with
#{
link_to
"Gitlab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
.actions
...
...
app/views/milestones/_form.html.haml
View file @
58a58178
...
...
@@ -22,7 +22,7 @@
=
f
.
label
:description
,
"Description"
,
class:
"control-label"
.controls
=
f
.
text_area
:description
,
maxlength:
2000
,
class:
"input-xlarge"
,
rows:
10
%p
.hint
M
arkdown is enabled
.
%p
.hint
M
ilestones are parsed with
#{
link_to
"Gitlab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
.span6
.control-group
=
f
.
label
:due_date
,
"Due Date"
,
class:
"control-label"
...
...
app/views/notes/_form.html.haml
View file @
58a58178
...
...
@@ -9,10 +9,9 @@
=
f
.
hidden_field
:noteable_type
=
f
.
text_area
:note
,
size:
255
#preview-note
.well.hide
%p
.hint
=
link_to
"Gitlab Markdown"
,
help_markdown_path
,
target:
'_blank'
is enabled.
.hint
=
link_to
'Preview'
,
preview_project_notes_path
(
@project
),
id:
'preview-link'
.right
Comments are parsed with
#{
link_to
"Gitlab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
.row.note_advanced_opts.hide
.span2
...
...
app/views/wikis/_form.html.haml
View file @
58a58178
...
...
@@ -14,9 +14,10 @@
.middle_box_content
.input
%span
.cgray
Wiki content is parsed with
#{
link_to
"
Markdown"
,
"http://en.wikipedia.org/wiki/Markdown"
}
.
To
add link to new
page you can just type
Wiki content is parsed with
#{
link_to
"
Gitlab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
To
link to a (new)
page you can just type
%code
[Link Title](page-slug)
\.
.bottom_box_content
=
f
.
label
:content
...
...
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