aboutsummaryrefslogtreecommitdiff
path: root/dialogs.c
diff options
context:
space:
mode:
Diffstat (limited to 'dialogs.c')
-rw-r--r--dialogs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dialogs.c b/dialogs.c
index 9f38616..a631703 100644
--- a/dialogs.c
+++ b/dialogs.c
@@ -438,6 +438,8 @@ void edit_ui(void) {
#ifndef WFMGIT
if(js) fprintf(cgiOut, "<INPUT TYPE=\"button\" ID=\"bakbtn\" onClick=\"chbak()\" VALUE=\"Backup\" STYLE=\"border:none; %s \"> \n", bkcolor);
+#else
+ fprintf(cgiOut, "%s\n", (repo_check()) ? "No GIT Repo Present" : "GIT Backed &nbsp;&nbsp;&nbsp;");
#endif
if(js) fprintf(cgiOut, "<INPUT TYPE=\"button\" ID=\"wrapbtn\" onClick=\"chwrap()\" VALUE=\"Wrap\" STYLE=\"border:none; background-color:#404040; color:#FFFFFF;\">\n");
@@ -472,4 +474,4 @@ void edit_ui(void) {
free(buff);
-} \ No newline at end of file
+}