base-renew.html 1.11 KB
Newer Older
Őry Máté committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
{% extends "dashboard/base.html" %}
{% load i18n %}

{% block content %}
  <div class="body-content">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="no-margin">
          {%blocktrans with instance=instance.name%}
          Renewing <em>{{instance}}</em>
          {%endblocktrans%}
        </h3>
      </div>
      <div class="panel-body">
15
        {%blocktrans with object=instance.name%}
Őry Máté committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
            Do you want to renew <strong>{{ object }}</strong>?
        {%endblocktrans%}
        {%blocktrans with suspend=time_of_suspend delete=time_of_delete|default:"n/a" %}
            The instance will be suspended at <em>{{suspend}}</em>
            and removed at <em>{{delete}}</em> if you renew it now.
        {%endblocktrans%}
        <div class="pull-right">
          <form action="" method="POST">
            {% csrf_token %}
            <a class="btn btn-default"
                href="{{instance.get_absolute_path}}">{% trans "Back" %}</a>
            <button class="btn btn-danger">{% trans "Renew" %}</button>
          </form>
        </div>
      </div>
  </div>
{% endblock %}