Skip to content

Commit

Permalink
Removed FAQ from emails; Fixed issue with extension/acknowledgement w…
Browse files Browse the repository at this point in the history
…ith three digit number of days
  • Loading branch information
joelbcastillo committed May 11, 2016
1 parent 194a8d9 commit a4c1022
Show file tree
Hide file tree
Showing 39 changed files with 37 additions and 177 deletions.
2 changes: 1 addition & 1 deletion public_records_portal/db_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def change_request_status(request_id, status):
date_created = req.date_received or req.date_created
date_created = cal.adjust(date_created, FOLLOWING)
if "days" in status:
days_to_fulfill = re.findall(r"(\d{2}) days",status)[0]
days_to_fulfill = re.findall(r"(\d{2,3}) days",status)[0]
app.logger.info("Changing Due Date: %s " % cal.addbusdays(date_created, int(days_to_fulfill)))
req.due_date = cal.addbusdays(date_created, int(days_to_fulfill))
db.session.commit()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="faq">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="app.config['PUBLIC_APPLICATION_URL']faq">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>

</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +37,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -38,4 +35,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -42,4 +39,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +36,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -40,4 +37,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +36,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +36,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +36,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -45,4 +42,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -39,4 +36,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -41,4 +38,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -43,4 +40,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -42,4 +39,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -43,4 +40,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -42,4 +39,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>

</br>
{% if unfollow_link %}
<p>
Expand All @@ -42,4 +40,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -43,4 +40,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -42,4 +39,4 @@
</div>
</div>
</body>
</html>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
You can view the request and take any necessary action at the following webpage:
<a href='{{ page }}'>{{ page }}</a>.
</p>
<p>
Click <a href="FAQ PAGE">here</a> to learn about how the City responds to FOIL requests.
</p>
</br>
{% if unfollow_link %}
<p>
Expand All @@ -43,4 +40,4 @@
</div>
</div>
</body>
</html>
</html>
Loading

0 comments on commit a4c1022

Please sign in to comment.