Skip to content

Commit

Permalink
Code style
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 7, 2024
1 parent 306d0e1 commit 3904267
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions pretalx_downstream/templates/pretalx_downstream/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,26 @@
{% load bootstrap4 %}
{% load i18n %}
{% load tz %}

{% block content %}

<h2>{% trans "Set up upstream sync" %}</h2>
<form method="post">
{% csrf_token %}
{% bootstrap_form form layout='event' %}
{% if last_pulled %}
<p>
Last automatic sync: {{ last_pulled|date:"SHORT_DATETIME_FORMAT" }}
</p>
{% endif %}
{% if last_pulled %}<p>Last automatic sync: {{ last_pulled|date:"SHORT_DATETIME_FORMAT" }}</p>{% endif %}
<div class="submit-group panel">
<span></span>
<span class="d-flex flex-row-reverse">
<button
type="submit" class="btn btn-success btn-lg"
name="action" value="save"
>
<button type="submit"
class="btn btn-success btn-lg"
name="action"
value="save">
<i class="fa fa-check"></i>
{% trans "Save" %}
</button>
<button
name="action" value="refresh"
type="submit" class="btn btn-info btn-lg mr-2"
>
<button name="action"
value="refresh"
type="submit"
class="btn btn-info btn-lg mr-2">
<i class="fa fa-refresh"></i>
{% trans "Check for new talks" %}
</button>
Expand Down

0 comments on commit 3904267

Please sign in to comment.