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:
authorAchilleas Pipinellis <axil@gitlab.com>2019-05-21 02:23:50 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-05-21 02:23:50 +0300
commitb09ee838e77695c5b577271666a490e2412b0afd (patch)
tree1d514109c5523ea169d90cecee8ee2e97a34ef88 /layouts/archives.html
parent09387629a7bab10f5b4085ea3a45b426e67c6de5 (diff)
Add option to link to Web IDE to edit files
Diffstat (limited to 'layouts/archives.html')
-rw-r--r--layouts/archives.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/archives.html b/layouts/archives.html
index e8ed67c2..e0403ef6 100644
--- a/layouts/archives.html
+++ b/layouts/archives.html
@@ -15,6 +15,7 @@
<%# 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>
+ <a class="btn btn-tanuki btn-default" href="<%= edit_on_gitlab(@item, editor: :webide) %>">Web IDE</a>
</div>
<% end %>
<% if @item[:last_updated] %>