{% extends "withnav_template.html" %}
{% from "components/browse-list.html" import browse_list %}

{% block page_title %}
  Service settings – GOV.UK Notify
{% endblock %}

{% block maincolumn_content %}

    <h1 class="heading-large">Manage settings</h1>

    {{ browse_list([
      {
        'title': 'Change your service name',
        'link': url_for('.service_name_change', service_id=service_id)
      },
      {
        'title': 'Request to go live and turn off sending restrictions',
        'link': url_for('.service_request_to_go_live', service_id=service_id),
        'hint': 'A live service can send notifications to any phone number or email address',
      } if not service.live else {
      },
      {
        'title': 'Temporarily suspend API keys',
        'link': url_for('.service_status_change', service_id=service_id),
        'destructive': True
      } if not service.active else {
        'title': 'Reactivate API keys',
        'link': url_for('.service_status_change', service_id=service_id)
      },
      {
        'title': 'Delete this service from GOV.UK Notify',
        'link': url_for('.service_delete', service_id=service_id),
        'destructive': True
      },
    ]) }}

{% endblock %}

{% extends "withnav_template.html" %}
{% from "components/browse-list.html" import browse_list %}

{% block page_title %}
  Service settings – GOV.UK Notify
{% endblock %}

{% block maincolumn_content %}

    <h1 class="heading-large">Manage settings</h1>

    {{ browse_list([
      {
        'title': 'Change your service name',
        'link': url_for('.service_name_change', service_id=service_id)
      },
      {
        'title': 'Request to go live and turn off sending restrictions',
        'link': url_for('.service_request_to_go_live', service_id=service_id),
        'hint': 'A live service can send notifications to any phone number or email address',
      } if not service.live else {
      },
      {
        'title': 'Temporarily suspend API keys',
        'link': url_for('.service_status_change', service_id=service_id),
        'destructive': True
      } if not service.active else {
        'title': 'Reactivate API keys',
        'link': url_for('.service_status_change', service_id=service_id)
      }
    ]) }}

{% endblock %}

Remove ‘delete this service’ link
Remove ‘delete this service’ link

> We have an option to delete a service, which looks good, but then
> doesn't delete the service.
>
> Until we have the ability to delete, let's ged rid of the link.

https://www.pivotaltracker.com/story/show/115775329
