summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorCédric Couralet2018-07-30 13:47:09 +0000
committerCédric Couralet2018-07-31 08:36:56 +0000
commit66d374b1289e6dd33008dc931e9fb642051724d0 (patch)
tree4801a08657d2a0fd04c03a3ed46440e221f0ae23 /public/views
parent93a3ce1164f69af24381c94b941048580891e1b8 (diff)
Add possibility to choose between version v3 or v4 for the gitlab api.
Apart from the uri versioning, one big change is the snippet visibility post data (visibility_level -> visibility) Default gitlab api version to v4 Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
Diffstat (limited to 'public/views')
-rw-r--r--public/views/codimd/body.ejs2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/views/codimd/body.ejs b/public/views/codimd/body.ejs
index b5932a61..d4f27a93 100644
--- a/public/views/codimd/body.ejs
+++ b/public/views/codimd/body.ejs
@@ -153,6 +153,7 @@
<div class="modal-body">
<input type="hidden" id="snippetImportModalAccessToken" />
<input type="hidden" id="snippetImportModalBaseURL" />
+ <input type="hidden" id="snippetImportModalVersion" />
<div class="ui-field-contain" style="display:table;margin-bottom:10px;width:100%;">
<div style="display:table-row;margin-bottom:5px;">
<label style="display:table-cell;">Project:</label>
@@ -191,6 +192,7 @@
<div class="modal-body">
<input type="hidden" id="snippetExportModalAccessToken" />
<input type="hidden" id="snippetExportModalBaseURL" />
+ <input type="hidden" id="snippetExportModalVersion" />
<div class="ui-field-contain" style="display:table;margin-bottom:10px;width:100%;">
<div style="display:table-row;margin-bottom:5px;">
<label style="display:table-cell;">Title:</label>