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-11 20:42:17 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-10-11 20:42:17 +0300
commit6ff27743fcbcd2af7ee64356da80483b51e824c1 (patch)
treea436466c51133b1e402731f6ccb3036f2fe82a87 /layouts
parent0285dff1317f6ec8416ef3820bac65a5f82b64d3 (diff)
remove redundant "edit this page" button from the default layout
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html6
1 files changed, 0 insertions, 6 deletions
diff --git a/layouts/default.html b/layouts/default.html
index 9f2e5e96..a03ba587 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -43,12 +43,6 @@
<div class="article-content js-article-content" role="main" itemscope itemprop="mainContentOfPage">
<%= yield %>
</div>
- <% 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">
- <a class="btn btn-tanuki btn-default" href="<%= edit_on_gitlab(@item) %>">Edit this page</a>
- </div>
- <% end %>
<% if @item[:last_updated] %>
<hr>
<p class="last-updated">