summaryrefslogtreecommitdiff
path: root/app/views/projects/wikis/edit.html.haml
diff options
context:
space:
mode:
authorJose Ivan Vargas Lopez <jvargas@gitlab.com>2017-04-06 13:55:11 +0000
committerJose Ivan Vargas <jvargas@gitlab.com>2017-04-06 14:58:57 -0500
commitc380d7669c4c44864d3bec7db3be139576fac649 (patch)
treefb744a156318d2c61b944e9ed463c598571638f5 /app/views/projects/wikis/edit.html.haml
parent7592137f218a1a5ef0a8031846cc93ecf185dd9f (diff)
downloadgitlab-ce-c380d7669c4c44864d3bec7db3be139576fac649.tar.gz
Fixed button capitalisation for Projects in views
Diffstat (limited to 'app/views/projects/wikis/edit.html.haml')
-rw-r--r--app/views/projects/wikis/edit.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml
index 8cf018da1b7..b995d08cd02 100644
--- a/app/views/projects/wikis/edit.html.haml
+++ b/app/views/projects/wikis/edit.html.haml
@@ -22,10 +22,10 @@
.nav-controls
- if can?(current_user, :create_wiki, @project)
= link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
- New Page
+ New page
- if @page.persisted?
= link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn" do
- Page History
+ Page history
- 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-danger" do
Delete