Move the remanants of the profiles app into the local app for more caminus-only bits
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
</ul>
|
||||
{% else %}
|
||||
<h2 class="title">Login</h2>
|
||||
<p>Welcome! Do you have an invite? <a href="{% url profiles.views.claimInvite %}">Claim it!</a><p>
|
||||
<p>Welcome! Do you have an invite? <a href="{% url local.views.claimInvite %}">Claim it!</a><p>
|
||||
<p><a href="{% url django.contrib.auth.views.password_reset %}">Forgot your password?</a>
|
||||
<form method="POST" action="{%url django.contrib.auth.views.login %}">
|
||||
{%csrf_token%}
|
||||
@@ -73,7 +73,7 @@
|
||||
<ul>
|
||||
<li><a href="/">Home</a></li>
|
||||
<li><a href="{%url forums.views.index%}">Forums</a></li>
|
||||
<li><a href="{%url profiles.views.list %}">User List</a></li>
|
||||
<li><a href="{%url local.views.list %}">User List</a></li>
|
||||
<li><a href="{% url petition.views.create %}">Create Petition</a></li>
|
||||
{% get_flatpages '/' as pages %}
|
||||
{% for page in pages %}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
{%block title%}Claim an Invite{%endblock%}
|
||||
|
||||
{%block content %}
|
||||
<form method="POST" action="{%url profiles.views.claimInvite%}">
|
||||
<form method="POST" action="{%url local.views.claimInvite%}">
|
||||
{% csrf_token %}
|
||||
{{form.as_p}}
|
||||
<input type="submit" value="Claim!"/>
|
@@ -3,7 +3,7 @@
|
||||
{% block title %}Delete Invite{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="POST" action="{%url profiles.views.deleteInvite code=invite.code %}">
|
||||
<form method="POST" action="{%url local.views.deleteInvite code=invite.code %}">
|
||||
{% csrf_token %}
|
||||
<p>If you delete this invite, it may not be used to create an account. If you already gave this invite to someone, <em>they will not be able to use it!</em></p>
|
||||
<p>Are you sure you want to delete this invite?</p>
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="item">
|
||||
<form method="POST" action="{%url profiles.views.edit %}">
|
||||
<form method="POST" action="{%url local.views.edit %}">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<input type="submit" value="Submit"/>
|
@@ -28,7 +28,7 @@
|
||||
{% if invite.deleted %}
|
||||
<em>Deleted</em>
|
||||
{% else %}
|
||||
<a href="{%url profiles.views.deleteInvite code=invite.code %}">Delete</a>
|
||||
<a href="{%url local.views.deleteInvite code=invite.code %}">Delete</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</td>
|
||||
@@ -41,7 +41,7 @@
|
||||
{% endif %}
|
||||
<tr class="actionBar">
|
||||
<td colspan="2">
|
||||
<a href="{% url profiles.views.createInvite %}">Create a new invite</a>
|
||||
<a href="{% url local.views.createInvite %}">Create a new invite</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -3,6 +3,6 @@
|
||||
{% block sectiontitle %}Login{% endblock %}
|
||||
{% block content %}
|
||||
<div class="item">
|
||||
{% include 'profiles/_login_form.html' %}
|
||||
{% include 'local/_login_form.html' %}
|
||||
</div>
|
||||
{% endblock %}
|
@@ -7,8 +7,8 @@
|
||||
{%block content %}
|
||||
<div class="item">
|
||||
{% avatar user %}
|
||||
<a href="{%url profiles.views.edit %}">Edit profile</a>
|
||||
<a href="{%url profiles.views.invites %}">Invites</a>
|
||||
<a href="{%url local.views.edit %}">Edit profile</a>
|
||||
<a href="{%url local.views.invites %}">Invites</a>
|
||||
<ul>
|
||||
<li>Member Since: {{user.date_joined|date:"SHORT_DATE_FORMAT"}}</li>
|
||||
<li>Last seen: {{user.last_login|date:"SHORT_DATE_FORMAT"}}</li>
|
@@ -2,7 +2,7 @@
|
||||
{%block title%}Register an Account{%endblock%}
|
||||
|
||||
{%block content %}
|
||||
<form method="POST" action="{%url profiles.views.register %}">
|
||||
<form method="POST" action="{%url local.views.register %}">
|
||||
{% csrf_token %}
|
||||
{{profileForm.as_p}}
|
||||
{{userForm.as_p}}
|
Reference in New Issue
Block a user