Fixed comment and wording on web templates.

This commit is contained in:
Jonathan Piacenti 2015-03-01 11:54:22 -06:00
parent 96ac3f967b
commit 453ba1afc3
2 changed files with 3 additions and 6 deletions

View file

@ -10,9 +10,6 @@ from evennia.web.urls import urlpatterns
# http://diveintopython.org/regular_expressions/street_addresses.html#re.matching.2.3
#
# Copy this file into your web directory in gamesrc, and add this line to settings.py:
# ROOT_URLCONF = 'game.gamesrc.web.urls'
# Add your own URL patterns to the patterns variable below, and then change
#
# These are Django URL patterns, so you should look up how to use these at

View file

@ -42,13 +42,13 @@ def page_index(request):
pagevars = {
"page_title": "Front Page",
"players_connected_recent": recent_users,
"num_players_connected": nsess or "noone",
"num_players_connected": nsess or "no one",
"num_players_registered": nplyrs or "no",
"num_players_connected_recent": nplyrs_conn_recent or "no",
"num_players_registered_recent": nplyrs_reg_recent or "noone",
"num_players_registered_recent": nplyrs_reg_recent or "no one",
"num_rooms": nrooms or "none",
"num_exits": nexits or "no",
"num_objects" : nobjs or "none",
"num_objects": nobjs or "none",
"num_characters": nchars or "no",
"num_others": nothers or "no"
}