Move some links to their own templates

This commit is contained in:
Raphael Michel
2017-06-27 18:22:27 +02:00
parent 98394fdc63
commit 424b7964b4
5 changed files with 18 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
{% load i18n %}
{% with 'target="blank" href="https://pretix.eu"'|safe as a_attr %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>
{% endblocktrans %}
{% endwith %}

View File

@@ -163,11 +163,7 @@
<tr>
<td class="footer">
<div>
{% with 'target="blank" href="https://pretix.eu"'|safe as a_attr %}
{% blocktrans trimmed %}
powered by <a {{ a_attr }}>pretix</a>
{% endblocktrans %}
{% endwith %}
{% include "pretixbase/email/email_footer.html" %}
</div>
</td>
</tr>

View File

@@ -224,6 +224,7 @@
{% endfor %}
{% endblock %}
</ul>
{% include "pretixcontrol/base_after_nav.html" %}
</div>
</div>
</nav>

View File

@@ -322,3 +322,13 @@ body.loading #wrapper {
color: white;
}
}
.sidebar-content {
text-align: center;
padding: 10px 0;
font-size: 12px;
img {
max-width: 80%;
}
}