summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/wizard/wizard_done.html
blob: 5acd6e78e266436d71d7660bdef23d25c9f323fe (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
{% extends "base.html" %}
{% load i18n %}

{% block top_content %}
<div class="alert alert-success alert-dismissible fade show" role="alert">
    {%trans "Item successfully saved"%}<button type="button" class="close" data-dismiss="alert" aria-label="Close">
    <span aria-hidden="true">&times;</span>
</button>
</div>
{% endblock %}

{% block content %}
{% if redirect or wizard_done_window %}
<script type='text/javascript' language='javascript'>
{% if redirect %}
window.location.href = "{{redirect}}";
{% endif %}
{% if wizard_done_window %}
$(function(){
    load_window("{{wizard_done_window}}{{item.pk}}/", "",
                function (){}, true); });
{% endif %}
</script>
{% endif %}
{% endblock %}