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
Kazuhiko Shiozaki
gitlab-ce
Commits
7a22b6b0
Commit
7a22b6b0
authored
Jan 08, 2016
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve button styles
parent
6467448a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/helpers/notes_helper.rb
app/helpers/notes_helper.rb
+1
-1
app/views/projects/notes/_edit_form.html.haml
app/views/projects/notes/_edit_form.html.haml
+2
-2
app/views/projects/notes/_form.html.haml
app/views/projects/notes/_form.html.haml
+1
-1
No files found.
app/helpers/notes_helper.rb
View file @
7a22b6b0
...
@@ -67,7 +67,7 @@ module NotesHelper
...
@@ -67,7 +67,7 @@ module NotesHelper
line_type:
line_type
line_type:
line_type
}
}
button_tag
class:
'btn reply-btn js-discussion-reply-button'
,
button_tag
class:
'btn
btn-nr
reply-btn js-discussion-reply-button'
,
data:
data
,
title:
'Add a reply'
do
data:
data
,
title:
'Add a reply'
do
link_text
=
icon
(
'comment'
)
link_text
=
icon
(
'comment'
)
link_text
<<
' Reply'
link_text
<<
' Reply'
...
...
app/views/projects/notes/_edit_form.html.haml
View file @
7a22b6b0
...
@@ -6,5 +6,5 @@
...
@@ -6,5 +6,5 @@
=
render
'projects/notes/hints'
=
render
'projects/notes/hints'
.note-form-actions
.note-form-actions
=
f
.
submit
'Save Comment'
,
class:
'btn btn-
primary
btn-save btn-grouped js-comment-button'
=
f
.
submit
'Save Comment'
,
class:
'btn btn-
nr
btn-save btn-grouped js-comment-button'
=
link_to
'Cancel'
,
'#'
,
class:
'btn btn-cancel note-edit-cancel'
=
link_to
'Cancel'
,
'#'
,
class:
'btn btn-
nr btn-
cancel note-edit-cancel'
app/views/projects/notes/_form.html.haml
View file @
7a22b6b0
...
@@ -15,4 +15,4 @@
...
@@ -15,4 +15,4 @@
.note-form-actions.clearfix
.note-form-actions.clearfix
=
f
.
submit
'Add Comment'
,
class:
"btn btn-nr btn-create comment-btn btn-grouped js-comment-button"
=
f
.
submit
'Add Comment'
,
class:
"btn btn-nr btn-create comment-btn btn-grouped js-comment-button"
=
yield
(
:note_actions
)
=
yield
(
:note_actions
)
%a
.btn.btn-cancel.js-close-discussion-note-form
Cancel
%a
.btn.btn-
nr.btn-
cancel.js-close-discussion-note-form
Cancel
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