9abd871a03
Altered specs that click capitalised New Snippet button Applied review feedback missed in Changes `.no-comment` `opactiy: 0.5` to `opacity: .5` Added `.btn-wide-on-xs` and applied to snippet buttons
11 lines
372 B
Text
11 lines
372 B
Text
- page_title "Snippets"
|
|
|
|
.sub-header-block
|
|
- if can?(current_user, :create_project_snippet, @project)
|
|
= link_to new_namespace_project_snippet_path(@project.namespace, @project), class: "btn btn-new btn-wide-on-sm pull-right", title: "New snippet" do
|
|
New snippet
|
|
|
|
.oneline
|
|
Share code pastes with others out of git repository
|
|
|
|
= render 'snippets/snippets'
|