mirror of
https://github.com/pretix/pretix.git
synced 2026-05-18 17:24:03 +00:00
Compare commits
2 Commits
nameparts-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d765a89139 | ||
|
|
3df5b1d075 |
@@ -56,7 +56,7 @@ dependencies = [
|
||||
"django-redis==6.0.*",
|
||||
"django-scopes==2.0.*",
|
||||
"django-statici18n==2.7.*",
|
||||
"djangorestframework==3.16.*",
|
||||
"djangorestframework==3.17.*",
|
||||
"dnspython==2.8.*",
|
||||
"drf_ujson2==1.7.*",
|
||||
"geoip2==5.*",
|
||||
|
||||
@@ -126,7 +126,7 @@ footer_link = EventPluginSignal()
|
||||
Arguments: ``request``
|
||||
|
||||
The signal ``pretix.presale.signals.footer_link`` allows you to add links to the footer of an event page. You
|
||||
are expected to return a dictionary containing the keys ``label`` and ``url``.
|
||||
are expected to return a dictionary containing the keys ``label``, ``url`` and optionally ``cssclass``.
|
||||
|
||||
As with all event plugin signals, the ``sender`` keyword argument will contain the event.
|
||||
"""
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<li>{{ footer_text }}</li>
|
||||
{% endif %}
|
||||
{% for f in footer %}
|
||||
<li><a href="{% safelink f.url %}" target="_blank" rel="noopener">{{ f.label }}</a></li>
|
||||
<li><a class="{{ f.cssclass }}" href="{% safelink f.url %}" target="_blank" rel="noopener">{{ f.label }}</a></li>
|
||||
{% endfor %}
|
||||
{% include "pretixpresale/base_footer.html" %} {# removing or hiding this might be in violation of pretix' license #}
|
||||
</ul>
|
||||
|
||||
@@ -201,13 +201,16 @@ footer nav li:not(:first-child):before {
|
||||
width: 1.5em;
|
||||
text-align: center;
|
||||
}
|
||||
footer nav .btn,
|
||||
footer nav .btn-link {
|
||||
display: inline;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 11px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
footer nav .btn-link {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.js-only {
|
||||
display: none;
|
||||
|
||||
@@ -43,7 +43,7 @@ RES_RULE = {
|
||||
"limit_products": [],
|
||||
"limit_variations": [],
|
||||
"all_payment_methods": True,
|
||||
"limit_payment_methods": set(),
|
||||
"limit_payment_methods": [],
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user