mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-23 06:39:25 +00:00
Cleanup of templates to use {% url %} for locations, instead of using hardcoded locations
This commit is contained in:
@@ -18,7 +18,7 @@ this is incorrect please raise a bug on the tracker.
|
||||
<tr><td>Password:</td><td>{{ acc.password }}</td></tr>
|
||||
</table>
|
||||
|
||||
<p><a href="/profile">Return to your profile page</a></p>
|
||||
<p><a href="{% url sso.views.profile %}">Return to your profile page</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -8,7 +8,7 @@ create a new account until fixed by a Sysop. If you are having issues logging in
|
||||
|
||||
<p>If you are sure, then please click confirm</p>
|
||||
|
||||
<form action="/profile/del/service/{{ acc.id }}/" method="post">
|
||||
<form action="{% url sso.views.service_del acc.id %}/" method="post">
|
||||
<input name="confirm-delete" type="hidden" value="1"/>
|
||||
<input type="submit" value="Confirm Delete" />
|
||||
</form>
|
||||
|
||||
@@ -8,7 +8,7 @@ then provide select a username you wish to use create the account for<br/>
|
||||
<br/>
|
||||
For details on how to connect to each service, please consult the <a
|
||||
href="http://wiki.dredd.it">wiki</a></p>
|
||||
<form action="/profile/add/service" method="post">
|
||||
<form action="{% url sso.views.service_add %}" method="post">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
{% block content %}
|
||||
<p>You have no services available to add to your account</p>
|
||||
|
||||
<p><a href="/profile">Return to your Profile</a></p>
|
||||
<p><a href="{% url sso.views.profile %}">Return to your Profile</a></p>
|
||||
{% endblock %}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<p>This service will reset your password for account {{ acc.service_uid }} on {{ acc.service }}. If you wish to continue please click the link
|
||||
below.</p>
|
||||
|
||||
<form action="/profile/reset/service/{{ serviceid }}/" method="post">
|
||||
<form action="{% url sso.views.service_reset serviceid %}/" method="post">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<tr><td>Password:</td><td>{{ passwd }}</td></tr>
|
||||
</table>
|
||||
|
||||
<p><a href="/profile">Return to your profile page</a></p>
|
||||
<p><a href="{% url sso.views.profile %}">Return to your profile page</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user