From 2476705c02b7bb1f4c1236fb77db4fe850a1de10 Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Wed, 26 Jun 2019 09:31:53 -0400 Subject: [PATCH] version info --- punch_list/backlog.html | 1 + punch_list/backlogManage.js | 16 +++------------- punch_list/metadata.js | 2 +- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/punch_list/backlog.html b/punch_list/backlog.html index 9fbc5ba..ab7c89e 100644 --- a/punch_list/backlog.html +++ b/punch_list/backlog.html @@ -57,6 +57,7 @@ Clear Tags +
diff --git a/punch_list/backlogManage.js b/punch_list/backlogManage.js index 9651419..e255890 100644 --- a/punch_list/backlogManage.js +++ b/punch_list/backlogManage.js @@ -132,12 +132,6 @@ function genList(punchList, element) { } list += ''; list += '
'; - if ( punchList[i].nDate > "" ) { - list += '
Needed By:
' + punchList[i].nDate + '
'; - } - if ( punchList[i].tags != undefined && punchList[i].tags != [] ) { - list += '
Tags:
' + punchList[i].tags + '
'; - } if ( punchList[i].notes != "" ) { list += '
'; } @@ -186,12 +180,6 @@ function genList(punchList, element) { } list += '
'; list += '
'; - if ( punchList[i].nDate > "" ) { - list += '
Needed By:
' + punchList[i].nDate + '
'; - } - if ( punchList[i].tags != undefined && punchList[i].tags != [] ) { - list += '
Tags:
' + punchList[i].tags + '
'; - } if ( punchList[i].notes != "" ) { list += '
'; } @@ -444,7 +432,7 @@ function editPunch(uuid) { html += '
Progress:
'; html += progress; html += '
'; - html += '
Tags:
' + tags + '
'; + html += '
Tags:
' + tags + ' 
'; html += '
Add Tag:
'; html += '
Notes:
'; html += ''; @@ -545,6 +533,8 @@ function signOut() { getJson(); +document.getElementById("versionInfo").innerHTML = version; + $('li').on("click", function(event){ var target = event.target, index = $(target).index(); diff --git a/punch_list/metadata.js b/punch_list/metadata.js index e10fa48..9d0de3d 100644 --- a/punch_list/metadata.js +++ b/punch_list/metadata.js @@ -1,4 +1,4 @@ -var version = "0.6.001", +var version = "0.6.031", debug = false, jsonUrl = "https://api.myjson.com/bins/1dodsj", showDone = false,