Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ialbert committed Mar 31, 2021
1 parent d052564 commit 56deca8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
15 changes: 8 additions & 7 deletions biostar/forum/templates/500.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{% extends "forum_base.html" %}

{% block title %}Error{% endblock %}
{% block title %}Server Error{% endblock %}

{% block content %}
<div class="ui basic segment">
<div class="ui error message">
<i class="exclamation icon"></i> Internal Server Error.
</div>
We apologize! An internal server error has occurred. If the problem persist please contact us.

<div class="ui segment">

<h2 class="ui red header"> <i class="exclamation icon"></i> Server Error</h2>

We apologize! A server error has occurred. If the problem persist please contact us.
</div>

{% endblock %}
2 changes: 1 addition & 1 deletion biostar/forum/templates/forum_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>

<title>
{% block title %}Page Title{% endblock %}
{% block title %}Biostar{% endblock %}
</title>

<meta charset="UTF-8">
Expand Down
4 changes: 4 additions & 0 deletions biostar/forum/templates/new_post.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
{% load forum_tags %}
{% load static %}

{% block title %}
New Post
{% endblock %}

{% block headtitle %}
New Post
{% endblock %}
Expand Down
3 changes: 3 additions & 0 deletions biostar/forum/templates/view_logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
{% load humanize %}
{% block headtitle %}{{ target.profile.name }}{% endblock %}

{% block title %}
Moderator Log
{% endblock %}

{% block content %}
<div class="ui vertical segment">
Expand Down
2 changes: 1 addition & 1 deletion biostar/forum/templatetags/forum_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def count_badge(count):
count = int(count)
except ValueError as exc:
# TODO: this is to catch ongoing stale sessions, may be removed later
logger.error(f"invalid count (stale session?) {count}")
logger.info(f"invalid count (stale session?) {count}")
count = 0

return dict(count=count)
Expand Down

0 comments on commit 56deca8

Please sign in to comment.