mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Fixes links.
This commit is contained in:
parent
892fb3e462
commit
553f2e13a1
2 changed files with 3 additions and 3 deletions
|
|
@ -43,8 +43,8 @@ folder and edit it to add/remove links to the menu.
|
|||
<li class="nav-item dropdown">
|
||||
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" id="user_options" aria-expanded="false">Logged in as {{user.username}} <span class="caret"></span></a>
|
||||
<div class="dropdown-menu" aria-labelledby="user_options">
|
||||
<a class="dropdown-item" href="{% url 'chargen' %}">Create</a>
|
||||
<a class="dropdown-item" href="{% url 'manage-characters' %}">Manage</a>
|
||||
<a class="dropdown-item" href="{% url 'character-create' %}">Create Character</a>
|
||||
<a class="dropdown-item" href="{% url 'character-manage' %}">Manage Characters</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
{% for character in user.characters|slice:"10" %}
|
||||
<a class="dropdown-item" href="#">{{ character }}</a>
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ urlpatterns = [
|
|||
|
||||
# User Authentication (makes login/logout url names available)
|
||||
url(r'^auth/', include('django.contrib.auth.urls')),
|
||||
url(r'^auth/register', website_views.AccountCreationView.as_view(), name="register"),
|
||||
url(r'^auth/register', website_views.AccountCreateView.as_view(), name="register"),
|
||||
|
||||
# Character management
|
||||
url(r'^characters/create/$', website_views.CharacterCreateView.as_view(), name="character-create"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue