mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
* Update base.html * Update base.html * Update signals.py
This commit is contained in:
@@ -52,6 +52,7 @@ Receivers are expected to return a list of dictionaries. The dictionaries
|
|||||||
should contain at least the keys ``label`` and ``url``. You can also return
|
should contain at least the keys ``label`` and ``url``. You can also return
|
||||||
a fontawesome icon name with the key ``icon``, it will be respected depending
|
a fontawesome icon name with the key ``icon``, it will be respected depending
|
||||||
on the type of navigation. If set, on desktops only the ``icon`` will be shown.
|
on the type of navigation. If set, on desktops only the ``icon`` will be shown.
|
||||||
|
The ``title`` property can be used to set the alternative text.
|
||||||
|
|
||||||
If you use this, you should read the documentation on :ref:`how to deal with URLs <urlconf>`
|
If you use this, you should read the documentation on :ref:`how to deal with URLs <urlconf>`
|
||||||
in pretix.
|
in pretix.
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
<ul class="nav navbar-nav navbar-top-links navbar-right">
|
<ul class="nav navbar-nav navbar-top-links navbar-right">
|
||||||
{% for nav in nav_topbar %}
|
{% for nav in nav_topbar %}
|
||||||
<li {% if nav.children %}class="dropdown"{% endif %}>
|
<li {% if nav.children %}class="dropdown"{% endif %}>
|
||||||
<a href="{{ nav.url }}" {% if nav.active %}class="active"{% endif %}
|
<a href="{{ nav.url }}" title="{{ nav.title }}" {% if nav.active %}class="active"{% endif %}
|
||||||
{% if nav.children %}class="dropdown-toggle" data-toggle="dropdown"{% endif %}>
|
{% if nav.children %}class="dropdown-toggle" data-toggle="dropdown"{% endif %}>
|
||||||
{% if nav.icon %}
|
{% if nav.icon %}
|
||||||
<span class="fa fa-{{ nav.icon }}"></span>
|
<span class="fa fa-{{ nav.icon }}"></span>
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<li>
|
<li>
|
||||||
<a href="{% url 'control:user.settings' %}">
|
<a href="{% url 'control:user.settings' %}" title="{% trans "Account Settings" %}" >
|
||||||
<i class="fa fa-user"></i> {{ request.user.get_full_name }}
|
<i class="fa fa-user"></i> {{ request.user.get_full_name }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user