unifies mr diff file button style
This commit is contained in:
parent
b525aff665
commit
500e1a56e0
2 changed files with 2 additions and 2 deletions
|
@ -198,7 +198,7 @@ module CommitsHelper
|
|||
link_to(
|
||||
namespace_project_blob_path(project.namespace, project,
|
||||
tree_join(commit_sha, diff_new_path)),
|
||||
class: 'btn view-file js-view-file btn-file-option'
|
||||
class: 'btn view-file js-view-file'
|
||||
) do
|
||||
raw('View file @') + content_tag(:span, commit_sha[0..6],
|
||||
class: 'commit-short-id')
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
- unless diff_file.submodule?
|
||||
.file-actions.hidden-xs
|
||||
- if blob_text_viewable?(blob)
|
||||
= link_to '#', class: 'js-toggle-diff-comments btn active has-tooltip btn-file-option', title: "Toggle comments for this file", disabled: @diff_notes_disabled do
|
||||
= link_to '#', class: 'js-toggle-diff-comments btn active has-tooltip', title: "Toggle comments for this file", disabled: @diff_notes_disabled do
|
||||
= icon('comment')
|
||||
\
|
||||
- if editable_diff?(diff_file)
|
||||
|
|
Loading…
Reference in a new issue