mirror of
https://github.com/S2-/gitlit
synced 2025-08-02 12:20: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">
|
||||
<%= repoDir %> is not a git lfs repo.
|
||||
</div>
|
||||
<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>
|
||||
<%- ejs.rr('templates/openFolder.ejs') %>
|
||||
|
@@ -1,3 +1,4 @@
|
||||
<div class="alert alert-info">
|
||||
no files tracked with lfs here.
|
||||
</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