From f33584eb3ffd5f37b656cdd465ff81cb0f43f092 Mon Sep 17 00:00:00 2001 From: Deron Smith Date: Wed, 1 Nov 2023 07:51:40 -0400 Subject: [PATCH] bug fixes --- .idea/hms_app.iml | 2 +- .idea/misc.xml | 4 ++++ hms_comments.sqlite3 | Bin 0 -> 8192 bytes static/images/badge.gif | Bin 0 -> 1818 bytes templates/04hms_contact_body.html | 3 ++- templates/hms_default_imports.html | 2 +- views/contact.py | 2 +- views/version_history.json | 2 +- 8 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .idea/misc.xml create mode 100644 hms_comments.sqlite3 create mode 100644 static/images/badge.gif diff --git a/.idea/hms_app.iml b/.idea/hms_app.iml index 21a3090..8f1fee0 100644 --- a/.idea/hms_app.iml +++ b/.idea/hms_app.iml @@ -14,7 +14,7 @@ - + diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..b4f3853 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/hms_comments.sqlite3 b/hms_comments.sqlite3 new file mode 100644 index 0000000000000000000000000000000000000000..d9638e7b1aab851ae07e4e34144bdd33082de091 GIT binary patch literal 8192 zcmeI#y-ve05C`yc3Sz3lQZZG!5u`RsYN|k{wkU!jDguI--C|HgouJeM>W0J<@K(GP zPDK_L#KOY=QEBlZsZeers3)ncWWl`*=s>vs3fuG49r zaz349DYsQVES1r0^^4{CWzO^4EE}*ks#tw5etp@N2W$(Y*H)S5ZGP1B=AQpf{)bx- z5P$##AOHafKmY;|fB*y_009X6k-*s7?ZrKryDt4+*HsxT>T3Bkd2Cwy!1eOY#V8!f XVH6F+h{HHJK22mi7Qg;>l0@c?l zn2DN|x7@roJREKyA)N;lhL}?r5u}O-93VXziJc)DLLa%E6dA5j1T&+uJOLLy zCK99+9&a7UJP{bfPLLGTiV`aw6QmOtAQ!*l9oS7E9Ndc%;j#`K=dv3XZt6%a@$UZr z5lrYqB4Qh|06P*U6u?8_4h6>sB;+xKG0I3}ec?j5{Xa|G;1q<9!5Rp%x34_!SI%zXroq@DpcT(boMF4Pd<007h$ zRe|*lrd|y+VB&%T$AP5(kcS3vqLcvvG@u9o3n?PiNFV8>NMO&=pg~b(xUgG70URKJ z0BG&RLjq$ZumfZe`eh;lK}p3>0s;VVzyS>$w}2yx*|1bHiXbp#R01#s8H!&9Adydz zh4q$F3XMReIwGKmBSKI~1X%$)?gSZlVUCHGTpyyj0}CARGLV&TCIp#}0RX^&ojerT z(2+^_GupK7gkVcd7$8OMww*|DNldtK zEAArWKpO=F$0>3DfmJ?^OKoC9pm0P5J17A`2@mA^KoTN2vxtE1{-c%PE0bJs*S06Xodz?YCU6hjXR3xPrmUW0A# z!b6x1wl4-WY2wd3v8@Q)a`Qc)O%dk3V@q>4gahCP?*N0tU(1{@zGN#-Z#xBWI11!( zkyNzgch_$JcZ3ol5P)s9HyvlXEy0?Q_@tR_!ZJ z-}y)x5MS`k1shHU0T;Xw@cD~qXYLgz#Df0&5nNkFGw;9e0Ig-vumeXsAkeNXos&gq z{<5tD;KK|g=-=e_cL0DbB7mI;j3RP0t`PKr1S3ER4;p}y0`%=QCc<7qLNoyB(XAzv zQowB>v?3I8h$TGe!1}5{0;%}rGCqge$jXQ7vUd#Z32nb05C(EHvcz8F2@JKE@xs6Fc3px-12Y{1X18@KZ zW`MtY9)SQL_&^6FaZEaNfCMH0s6#z4gAh1S76aHo2rgiP897u6?<7G4`ay~TNZDHlTVqzGg{qe9I_K_qb0r1rrA$#kkzr%KhT Iav=x+JD{NDApigX literal 0 HcmV?d00001 diff --git a/templates/04hms_contact_body.html b/templates/04hms_contact_body.html index 907a898..aee807e 100644 --- a/templates/04hms_contact_body.html +++ b/templates/04hms_contact_body.html @@ -1,9 +1,10 @@ +{% load static %}

Please contact us using the form below. Your contact information will be kept confidential.

-
Report an environmental violation
+
Report an environmental violation
diff --git a/templates/hms_default_imports.html b/templates/hms_default_imports.html index 54bc8a2..f2978dc 100644 --- a/templates/hms_default_imports.html +++ b/templates/hms_default_imports.html @@ -11,7 +11,7 @@ - + \ No newline at end of file diff --git a/views/contact.py b/views/contact.py index 0210140..60fdaff 100644 --- a/views/contact.py +++ b/views/contact.py @@ -90,7 +90,7 @@ def contacts_submission_view(request): keywords = "HMS, Hydrology, Hydrologic Micro Services, EPA" imports = render_to_string('hms_default_imports.html') - disclaimer_file = open(os.path.join(os.environ['PROJECT_PATH'], 'hms_app/views/disclaimer.txt'), 'r') + disclaimer_file = open(os.path.join(os.environ['PROJECT_PATH'], 'views/disclaimer.txt'), 'r') disclaimer_text = disclaimer_file.read() notpublic = True diff --git a/views/version_history.json b/views/version_history.json index 2db31e5..16975ec 100644 --- a/views/version_history.json +++ b/views/version_history.json @@ -1,4 +1,4 @@ { - "1.0.0": ["public", "06/01/2021", "Public release of version 1.0.0 of the HMS web application and REST API."], + "1.0.0": ["public", "10/01/2020", "Public release of version 1.0.0 of the HMS web application and REST API."], "0.1.0": ["beta", "07/16/2020", "Initial beta release of HMS web application and components."] } \ No newline at end of file