mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-01 23:42:17 +02:00
fix home.html to redirect to forms if status set to started
This commit is contained in:
parent
0c718ac964
commit
cd101a4b9e
2 changed files with 5 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
{% block title %}Apply for a .gov domain – Status{% endblock %}
|
||||
{% load static url_helpers %}
|
||||
{% content %}
|
||||
|
||||
{% block form_fields %}
|
||||
{% for step in steps.all|slice:":-1" %}
|
||||
|
@ -100,3 +101,4 @@
|
|||
</section>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
|
@ -75,14 +75,15 @@
|
|||
<td data-sort-value="{{ application.created_at|date:"U" }}" data-label="Date created">{{ application.created_at|date }}</td>
|
||||
<td data-label="Status">{{ application.status|title }}</td>
|
||||
<td>
|
||||
<a href="{% url 'application-status' application.pk %}">
|
||||
{% if application.status == "started" %}
|
||||
{% if application.status == "started" %}
|
||||
<a href="{% url 'edit-application' application.pk %}">
|
||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
||||
<use xlink:href="{%static 'img/sprite.svg'%}#edit"></use>
|
||||
</svg>
|
||||
Edit <span class="usa-sr-only">{{ application.requested_domain.name|default:"New domain request" }} </span>
|
||||
|
||||
{% else %}
|
||||
<a href="{% url 'application-status' application.pk %}">
|
||||
<svg class="usa-icon" aria-hidden="true" focusable="false" role="img" width="24">
|
||||
<use xlink:href="{%static 'img/sprite.svg'%}#settings"></use>
|
||||
</svg>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue