Remove icons from button on wiki pages. Also consistent padding between buttons there
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
477c113c47
commit
cdcca06b14
6 changed files with 2 additions and 11 deletions
|
@ -34,7 +34,6 @@
|
||||||
= link_to 'Get started with Builds', help_page_path('ci/quick_start', 'README'), class: 'btn btn-info'
|
= link_to 'Get started with Builds', help_page_path('ci/quick_start', 'README'), class: 'btn btn-info'
|
||||||
|
|
||||||
= link_to ci_lint_path, class: 'btn btn-default' do
|
= link_to ci_lint_path, class: 'btn btn-default' do
|
||||||
= icon('wrench')
|
|
||||||
%span CI Lint
|
%span CI Lint
|
||||||
|
|
||||||
%ul.content-list
|
%ul.content-list
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
.nav-controls
|
.nav-controls
|
||||||
- if can?(current_user, :admin_milestone, @project)
|
- if can?(current_user, :admin_milestone, @project)
|
||||||
= link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "btn btn-new", title: "New Milestone" do
|
= link_to new_namespace_project_milestone_path(@project.namespace, @project), class: "btn btn-new", title: "New Milestone" do
|
||||||
= icon('plus')
|
|
||||||
New Milestone
|
New Milestone
|
||||||
|
|
||||||
.milestones
|
.milestones
|
||||||
|
|
|
@ -23,11 +23,9 @@
|
||||||
= link_to 'Reopen Milestone', namespace_project_milestone_path(@project.namespace, @project, @milestone, milestone: {state_event: :activate }), method: :put, class: "btn btn-reopen btn-nr btn-grouped"
|
= link_to 'Reopen Milestone', namespace_project_milestone_path(@project.namespace, @project, @milestone, milestone: {state_event: :activate }), method: :put, class: "btn btn-reopen btn-nr btn-grouped"
|
||||||
|
|
||||||
= link_to edit_namespace_project_milestone_path(@project.namespace, @project, @milestone), class: "btn btn-grouped btn-nr" do
|
= link_to edit_namespace_project_milestone_path(@project.namespace, @project, @milestone), class: "btn btn-grouped btn-nr" do
|
||||||
= icon('pencil-square-o')
|
|
||||||
Edit
|
Edit
|
||||||
|
|
||||||
= link_to namespace_project_milestone_path(@project.namespace, @project, @milestone), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-grouped btn-danger" do
|
= link_to namespace_project_milestone_path(@project.namespace, @project, @milestone), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-grouped btn-danger" do
|
||||||
= icon('trash-o')
|
|
||||||
Delete
|
Delete
|
||||||
|
|
||||||
.detail-page-description.milestone-detail
|
.detail-page-description.milestone-detail
|
||||||
|
|
|
@ -28,14 +28,12 @@
|
||||||
.nav-controls
|
.nav-controls
|
||||||
- if can? current_user, :create_pipeline, @project
|
- if can? current_user, :create_pipeline, @project
|
||||||
= link_to new_namespace_project_pipeline_path(@project.namespace, @project), class: 'btn btn-create' do
|
= link_to new_namespace_project_pipeline_path(@project.namespace, @project), class: 'btn btn-create' do
|
||||||
= icon('plus')
|
|
||||||
New pipeline
|
New pipeline
|
||||||
|
|
||||||
- unless @repository.gitlab_ci_yml
|
- unless @repository.gitlab_ci_yml
|
||||||
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start', 'README'), class: 'btn btn-info'
|
= link_to 'Get started with Pipelines', help_page_path('ci/quick_start', 'README'), class: 'btn btn-info'
|
||||||
|
|
||||||
= link_to ci_lint_path, class: 'btn btn-default' do
|
= link_to ci_lint_path, class: 'btn btn-default' do
|
||||||
= icon('wrench')
|
|
||||||
%span CI Lint
|
%span CI Lint
|
||||||
|
|
||||||
%ul.content-list.pipelines
|
%ul.content-list.pipelines
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
- if (@page && @page.persisted?)
|
- if (@page && @page.persisted?)
|
||||||
= link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
= link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn" do
|
||||||
Page History
|
Page History
|
||||||
- if can?(current_user, :create_wiki, @project)
|
- if can?(current_user, :create_wiki, @project)
|
||||||
= link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn btn-grouped" do
|
= link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn" do
|
||||||
%i.fa.fa-pencil-square-o
|
|
||||||
Edit
|
Edit
|
||||||
- if can?(current_user, :admin_wiki, @project)
|
- if can?(current_user, :admin_wiki, @project)
|
||||||
= link_to namespace_project_wiki_path(@project.namespace, @project, @page), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-remove" do
|
= link_to namespace_project_wiki_path(@project.namespace, @project, @page), data: { confirm: "Are you sure you want to delete this page?"}, method: :delete, class: "btn btn-remove" do
|
||||||
= icon('trash')
|
|
||||||
Delete
|
Delete
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
.nav-controls
|
.nav-controls
|
||||||
- if can?(current_user, :create_wiki, @project)
|
- if can?(current_user, :create_wiki, @project)
|
||||||
= link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
|
= link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
|
||||||
= icon('plus')
|
|
||||||
New Page
|
New Page
|
||||||
|
|
||||||
= render 'projects/wikis/new'
|
= render 'projects/wikis/new'
|
||||||
|
|
Loading…
Reference in a new issue