mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-03 00:19:57 -04:00
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>
This commit is contained in:
parent
93a3ce1164
commit
66d374b128
6 changed files with 24 additions and 9 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue