Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
deronsmith committed Nov 1, 2023
1 parent e286329 commit f33584e
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .idea/hms_app.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added hms_comments.sqlite3
Binary file not shown.
Binary file added static/images/badge.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion templates/04hms_contact_body.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{% load static %}
<div class="node node-webform clearfix view-mode-full ">

<p>Please contact us using the&nbsp;form below. Your contact information will be kept confidential.</p>

<div class="box right">
<div class="slat-image"><a href="https://www.epa.gov/tips"><img alt="Report an environmental violation" src="/static_qed/images/badge.gif"></a></div>
<div class="slat-image"><a href="https://www.epa.gov/tips"><img alt="Report an environmental violation" src="{% static '/images/badge.gif' %}"></a></div>

<div class="slat-content">
<div><strong><a href="https://www.epa.gov/tips">Report a Violation</a></strong></div>
Expand Down
2 changes: 1 addition & 1 deletion templates/hms_default_imports.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<script type="text/javascript" src="{% static 'js/browser_check.js' %}"></script>
<script src="{% static 'js/source_configs.js' %}"></script>
<script src="{% static 'js/general_page.js' %}"></script>
<script src="{% static 'jas/time_of_travel_page.js'%}"></script>
<!--<script src="{% static 'jas/time_of_travel_page.js'%}"></script>-->
<script src="{% static 'js/dygraph.js' %}"></script>
<link rel="stylesheet" href="{% static 'css/dygraph.css' %}">
<!--end hms_workflow_imports.html-->
2 changes: 1 addition & 1 deletion views/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion views/version_history.json
Original file line number Diff line number Diff line change
@@ -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."]
}

0 comments on commit f33584e

Please sign in to comment.