blob: e131447d4864fb25696cb175be4f882277abd0db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{% extends "base.html" %}
{% load i18n inline_formset verbose_names %}
{% block content %}
<div class='form'>
<form action="." method="post">{% csrf_token %}
<h2>{{page_name}}</h2>
{% block "warning_message" %}
<div class="alert alert-danger">
<div><i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
{% trans "Are you sure to want to delete this item?" %}
</div>
<p>{% trans "No rollback is possible. Be careful to scroll to the end of page to check every piece of information." %}</p>
</div>
{% endblock %}
<div class="card">
<div class="card-header">
{{ object }}
</div>
<div class="card-body">
{% for accessor, imported in object.get_all_imported %}
{% ifchanged imported|verbose_model_name %}
{% if forloop.counter %}
</ul>
{% endif %}
<hr><strong>{{ imported|verbose_model_name }}</strong><hr>
<ul class="list">
{% endifchanged %}
<li>
{{ imported }}
{% url "show-"|add:imported.SLUG imported.pk "" as current_url %}
{% if current_url %}
<a class="display_details_inline" href="#" onclick='load_window("{% url "show-"|add:imported.SLUG imported.pk "" %}")'>
<i class="fa fa-info-circle" aria-hidden="true"></i>
</a>
{% endif %}
</li>
{% endfor %}
</ul>
</div>
</div>
{% block "footer" %}
<div id="footer">
<p class="confirm-message">{% trans "Are you sure to want to delete this import?" %}</p>
{% include 'ishtar/wizard/validation_bar.html' %}
</div>
{% endblock %}
</form>
</div>
{% endblock %}
|