mirror of
https://github.com/S2-/gitlit
synced 2025-08-03 04:40:05 +02:00
show open an other folder button if there are no tracked files
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
<%= repoDir %> is not a git lfs repo.
|
<%= repoDir %> is not a git lfs repo.
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center">
|
<%- ejs.rr('templates/openFolder.ejs') %>
|
||||||
<a class="btn btn-primary js-open-folder" href="javascript:///">Open an other folder</a>
|
|
||||||
<input type="file" style="display: none" class="js-open-folder-input" webkitdirectory />
|
|
||||||
</div>
|
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
no files tracked with lfs here.
|
no files tracked with lfs here.
|
||||||
</div>
|
</div>
|
||||||
|
<%- ejs.rr('templates/openFolder.ejs') %>
|
||||||
|
4
app/templates/openFolder.ejs
Normal file
4
app/templates/openFolder.ejs
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<div class="text-center">
|
||||||
|
<a class="btn btn-primary js-open-folder" href="javascript:///">Open an other folder</a>
|
||||||
|
<input type="file" style="display: none" class="js-open-folder-input" webkitdirectory />
|
||||||
|
</div>
|
Reference in New Issue
Block a user