Show More
@@ -1,6 +1,7 b'' | |||||
1 | {% extends "boards/base.html" %} |
|
1 | {% extends "boards/base.html" %} | |
2 |
|
2 | |||
3 | {% load i18n %} |
|
3 | {% load i18n %} | |
|
4 | {% load humanize %} | |||
4 |
|
5 | |||
5 | {% block head %} |
|
6 | {% block head %} | |
6 | <title>Neboard settings</title> |
|
7 | <title>Neboard settings</title> | |
@@ -16,9 +17,9 b'' | |||||
16 | {% endif %} |
|
17 | {% endif %} | |
17 | </p> |
|
18 | </p> | |
18 | <p>{% trans 'Posts:' %} {{ user.get_post_count }}</p> |
|
19 | <p>{% trans 'Posts:' %} {{ user.get_post_count }}</p> | |
19 | <p>{% trans 'First access:' %} {{ user.registration_time }}</p> |
|
20 | <p>{% trans 'First access:' %} {{ user.registration_time|naturaltime }}</p> | |
20 | {% if user.get_last_access_time %} |
|
21 | {% if user.get_last_access_time %} | |
21 | <p>{% trans 'Last access:' %} {{ user.get_last_access_time }}</p> |
|
22 | <p>{% trans 'Last access:' %} {{ user.get_last_access_time|naturaltime }}</p> | |
22 | {% endif %} |
|
23 | {% endif %} | |
23 | </div> |
|
24 | </div> | |
24 |
|
25 |
@@ -145,6 +145,7 b' INSTALLED_APPS = (' | |||||
145 | # Uncomment the next line to enable admin documentation: |
|
145 | # Uncomment the next line to enable admin documentation: | |
146 | # 'django.contrib.admindocs', |
|
146 | # 'django.contrib.admindocs', | |
147 | 'django.contrib.markup', |
|
147 | 'django.contrib.markup', | |
|
148 | 'django.contrib.humanize', | |||
148 | 'django_cleanup', |
|
149 | 'django_cleanup', | |
149 | 'boards', |
|
150 | 'boards', | |
150 | 'captcha', |
|
151 | 'captcha', |
General Comments 0
You need to be logged in to leave comments.
Login now