mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Fix the HR view template when no buttons are needed
This commit is contained in:
@@ -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>
|
||||
|
||||
25
templates/sso/serviceaccount/add.html
Normal file
25
templates/sso/serviceaccount/add.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user