pyfedi/app/templates/admin/activity_json.html

27 lines
789 B
HTML
Raw Normal View History

{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
{% extends 'themes/' + theme() + '/base.html' %}
{% else %}
{% extends "base.html" %}
{% endif %} %}
2023-12-23 11:30:27 +13:00
{% from 'bootstrap/form.html' import render_form %}
2024-04-14 20:05:40 +12:00
{% set active_child = 'admin_activities' %}
2023-12-23 11:30:27 +13:00
{% block app_content %}
<div class="row">
<div class="col">
2024-04-14 20:05:40 +12:00
<h1>{{ _('Activity JSON') }}</h1>
2024-10-02 20:29:09 +13:00
<code><p>{{ activity_json_data }}</p></code>
2023-12-26 12:36:20 +13:00
{% if current_app.debug %}
<p><a class="btn btn-warning" href="{{ url_for('admin.activity_replay', activity_id=activity.id) }}">Re-submit this activity</a></p>
{% endif %}
2023-12-23 11:30:27 +13:00
</div>
</div>
2024-04-14 20:05:40 +12:00
<hr />
<div class="row">
<div class="col">
{% include 'admin/_nav.html' %}
</div>
</div>
<hr />
2023-12-23 11:30:27 +13:00
{% endblock %}