From e994b98dcc6dd0a263b9c9e71d3e0119325daae5 Mon Sep 17 00:00:00 2001 From: s2 Date: Thu, 20 Jun 2019 10:59:46 +0200 Subject: [PATCH] show open an other folder button if there are no tracked files --- app/templates/isNoGitLfsRepo.ejs | 5 +---- app/templates/noGitLfsFiles.ejs | 1 + app/templates/openFolder.ejs | 4 ++++ 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 app/templates/openFolder.ejs diff --git a/app/templates/isNoGitLfsRepo.ejs b/app/templates/isNoGitLfsRepo.ejs index 139cc00e..fae90f88 100644 --- a/app/templates/isNoGitLfsRepo.ejs +++ b/app/templates/isNoGitLfsRepo.ejs @@ -1,7 +1,4 @@
<%= repoDir %> is not a git lfs repo.
-
- Open an other folder - -
+<%- ejs.rr('templates/openFolder.ejs') %> diff --git a/app/templates/noGitLfsFiles.ejs b/app/templates/noGitLfsFiles.ejs index d293d9a9..64485dc4 100644 --- a/app/templates/noGitLfsFiles.ejs +++ b/app/templates/noGitLfsFiles.ejs @@ -1,3 +1,4 @@
no files tracked with lfs here.
+<%- ejs.rr('templates/openFolder.ejs') %> diff --git a/app/templates/openFolder.ejs b/app/templates/openFolder.ejs new file mode 100644 index 00000000..5856206f --- /dev/null +++ b/app/templates/openFolder.ejs @@ -0,0 +1,4 @@ +
+ Open an other folder + +