type-list.html 1.61 KB
Newer Older
Kálmán Viktor committed
1 2 3 4 5
{% extends "dashboard/base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load render_table from django_tables2 %}

6
{% block title-page %}{% trans "Request types" %}{% endblock %}
Kálmán Viktor committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

{% block content %}

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <div class="pull-right">
          <a class="btn btn-xs btn-success" href="{% url "request.views.lease-type-create" %}">
            <i class="fa fa-plus-circle"></i>
            {% trans "new lease type" %}
          </a>
          <a class="btn btn-xs btn-success" href="{% url "request.views.template-type-create" %}">
            <i class="fa fa-plus-circle"></i>
            {% trans "new template access type" %}
          </a>
        </div>
24
        <h3 class="no-margin"><i class="fa fa-phone"></i> {% trans "Request types" %}</h3>
Kálmán Viktor committed
25 26
      </div>
      <div class="panel-body">
27
        <div class="text-muted little-margin-bottom">
28 29 30
          {% blocktrans %}
            Lease types are used for sharing leases. User can request longer ones via these.
          {% endblocktrans %}
31 32 33 34 35 36 37
        </div>
        <div class="table-responsive">
          {% render_table lease_table %}
        </div>

        <div class="text-muted little-margin-bottom">
          {% blocktrans %}
38
            Using template access types users can request multiple templates with user with operator or user level access.
39 40 41 42
          {% endblocktrans %}
        </div>
        <div class="table-responsive">
          {% render_table template_table %}
Kálmán Viktor committed
43 44 45 46 47 48
        </div>
      </div><!-- .panel-body -->
    </div>
  </div>
</div>
{% endblock %}