node-status.html 1.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
{% 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">
          {% if title %}
            {{ title }}
          {% else %}
12
            {% trans "Status changing confirmation" %}
13
          {% endif %}
14 15 16 17 18 19 20 21 22 23 24 25 26
        </h3>
      </div>
      <div class="panel-body">
          {% if text %}
            {{ text }}
          {% else %}
            {%blocktrans with object=object%}
              Are you sure you want to change <strong>{{ object }}</strong> status?
            {%endblocktrans%}
          {% endif %}
        <div class="pull-right">
          <form action="" method="POST">
            {% csrf_token %}
27
            <a class="btn btn-default">{% trans "Cancel" %}</a>
28
            <button type="button" class="btn btn-default" data-dismiss="modal"></button>
29
            <input type="hidden" name="change_status" value=""/>
30
            <button class="btn btn-warning">{% blocktrans with status=status %}Yes, {{status}}{% endblocktrans %}</button>
31 32 33 34 35
          </form>
        </div>
      </div>
  </div>
{% endblock %}