Server IP : 85.214.239.14 / Your IP : 18.219.209.76 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /srv/modoboa/env/lib64/python3.5/site-packages/reversion/templates/reversion/ |
Upload File : |
{% extends "admin/base_site.html" %} {% load i18n l10n admin_urls %} {% block breadcrumbs %} <div class="breadcrumbs"> <a href="{% url 'admin:index' %}">{% trans 'Home' %}</a> › <a href="{% url 'admin:app_list' opts.app_label %}">{{opts.app_config.verbose_name}}</a> › <a href="{% url opts|admin_urlname:'changelist' %}">{{opts.verbose_name_plural|capfirst}}</a> › {% blocktrans with opts.verbose_name_plural|escape as name %}Recover deleted {{name}}{% endblocktrans %} </div> {% endblock %} {% block content %} <div id="content-main"> <p>{% blocktrans %}Choose a date from the list below to recover a deleted version of an object.{% endblocktrans %}</p> <div class="module"> {% if deleted %} <table id="change-history" class="table table-striped table-bordered"> <thead> <tr> <th scope="col">{% trans 'Date/time' %}</th> <th scope="col">{{opts.verbose_name|capfirst}}</th> </tr> </thead> <tbody> {% for deletion in deleted %} <tr> <th scope="row"><a href="{% url opts|admin_urlname:'recover' deletion.pk|unlocalize %}">{{deletion.revision.date_created}}</a></th> <td>{{deletion.object_repr}}</td> </tr> {% endfor %} </tbody> </table> {% else %} <p>{% trans "There are no deleted objects to recover." %}</p> {% endif %} </div> </div> {% endblock %}