Beautify names and dates

This commit is contained in:
Thierry Carrez 2013-07-12 16:06:48 +02:00
parent 58f546c69f
commit ca70b67739
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
<ul class="nav pull-right">
{% if user.is_authenticated %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Logged in as {{ user.username }} <b class="caret"></b></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ user.first_name }} {{ user.last_name }} ({{ user.username }})<b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="disabled"><a href="#">Preferences</a></li>
<li class="divider"></li>

View File

@ -77,7 +77,7 @@
{% for comment in story.comment_set.all %}
<tr><td colspan=2>
<i class="icon-{{ comment.comment_type }}"></i>
by {{ comment.author.username }} on {{ comment.posted_date }}:
by {{ comment.author.first_name }} {{ comment.author.last_name }} ({{ comment.author.username }}) on {{ comment.posted_date|date:"o-m-d H:i" }}:
{% if comment.action %}<br>{{ comment.action }}{% endif %}
</td></tr>
<tr><td>{{ comment.content|markdown:"safe" }}</td></tr>

View File

@ -40,7 +40,7 @@ ALLOWED_HOSTS = []
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# In a Windows environment this must be set to your system time zone.
TIME_ZONE = 'America/Chicago'
TIME_ZONE = 'UTC'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html