Fix the HR view template when no buttons are needed

This commit is contained in:
2011-01-25 15:54:08 +00:00
parent 5857e3eb79
commit 88f8c01f19
2 changed files with 26 additions and 1 deletions

View File

@@ -42,9 +42,9 @@
<a href="{% url hr.views.update_application app.id 5 %}">Mark as Complete</a>
{% endifequal %}
{% endif %}
{% endifnotequal %}
</p>
</div>
{% endifnotequal %}
{% if audit %}
<h3>Event Log</h3>

View File

@@ -0,0 +1,25 @@
{% extends "base.html" %}
{% block title %}Add External Service Account{% endblock %}
{% block content %}
<p>To add a service to your account, select the service from the list
below
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>
<p>If you are missing some services, please check that your API key is
up to date, if so use the "Refresh" function.</p>
<form action="{% url sso.views.service_add serviceid %}" method="post">
<table>
{{ form.as_table }}
</table>
<br />
<input type="submit" value="Create Account" />
{% csrf_token %}
</form>
<br/>
{% endblock %}