This repository was archived by the owner on Feb 3, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -386,3 +386,7 @@ def forbidden(e):
386386def forbidden (e ):
387387 return render_template ('bootstrap/400.html' , metadata = get_metadata ()), 400
388388
389+ @app .errorhandler (409 )
390+ def forbidden (e ):
391+ return render_template ('bootstrap/409.html' , metadata = get_metadata ()), 409
392+
Original file line number Diff line number Diff line change 1+ {% extends "bootstrap/base.html" %}
2+
3+ {% block styles %}
4+ < link rel ="stylesheet " href ="/static/css/votes/upvote.css ">
5+ {% endblock %}
6+
7+ {% block body %}
8+ < div class ="container ">
9+ < h1 class ="text-center "> 409 - Conflict</ h1 >
10+ < br >
11+ < br >
12+ < h3 class ="text-center "> Your request conflicts the current data within the system. If you believe this is wrong, contact an RTP.</ h3 >
13+ </ div >
14+ {% endblock %}
15+
16+ {% block scripts %}
17+ < script src ="{{ url_for('static', filename='js/load_more.js') }} "> </ script >
18+ < script src ="{{ url_for('static', filename='css/votes/upvote.js') }} "> </ script >
19+ < script src ="{{ url_for('static', filename='js/vote.js') }} "> </ script >
20+ {% endblock %}
21+
You can’t perform that action at this time.
0 commit comments