Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-10-04 14:22:26 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-04 14:22:26 +0300
commit9bf75973b5ddea4d4a3971b0e7abc02e6e79f1d2 (patch)
tree46764b284c043e6276e5bccefb611759c4b69639 /layouts/archives.html
parent9a8bf626e3e59a3abc2cd0354f20a6e1fcaf10b7 (diff)
Improves "edit this page" button
Diffstat (limited to 'layouts/archives.html')
-rw-r--r--layouts/archives.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/archives.html b/layouts/archives.html
index ec3f9188..e2b5f0b0 100644
--- a/layouts/archives.html
+++ b/layouts/archives.html
@@ -13,7 +13,7 @@
<% if ENV['NANOC_ENV'] == 'production' && ENV['CI_COMMIT_REF_NAME'] == 'master' %>
<%# Show Edit button only in production and on master branch (hide archives) %>
<div class="edit-on">
- <%= edit_on_gitlab(@item) %>
+ <a class="btn btn-tanuki btn-default" href="<%= edit_on_gitlab(@item) %>">Edit this page</a>
</div>
<% end %>
<% if @item[:last_updated] %>