Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3aaeff41
authored
Aug 08, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'issue-241' into 'master'
Fix http 500 page Closes #241
parents
aef328d4
e1cfb56d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
circle/common/views.py
+0
-0
circle/templates/500.html
+13
-6
No files found.
circle/common/views.py
View file @
3aaeff41
circle/templates/500.html
View file @
3aaeff41
...
@@ -6,11 +6,18 @@
...
@@ -6,11 +6,18 @@
{% block page_title %}{% trans ":(" %}{% endblock page_title %}
{% block page_title %}{% trans ":(" %}{% endblock page_title %}
{% block content %}
{% block content %}
<div
style=
"margin-top: 4em;"
>
<div
class=
"alert alert-danger"
style=
"font-size: 22px; margin-top: 2em;"
>
{% if error %}
<div
class=
"row"
>
<p>
{{ error }}
</p>
<div
class=
"col-md-2"
style=
"text-align: center;"
>
{% else %}
HTTP 500
<p>
{% trans "Internal Server Error... Please leave the server alone..." %}
</p>
</div>
{% endif %}
<div
class=
"col-md-10"
style=
"text-align: center;"
>
{% if error %}
{{ error }}
{% else %}
{% trans "Internal Server Error... Please leave the server alone..." %}
{% endif %}
</div>
</div>
</div>
</div>
{% endblock content %}
{% endblock content %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment