From 8d16e2b59b03ff9659404caeffa5e884dada7cb4 Mon Sep 17 00:00:00 2001 From: morrme Date: Thu, 6 Apr 2017 07:13:12 -0500 Subject: [PATCH] Fix #444 -- Add alternative text to the top-right navigation (#457) * Update base.html * Update base.html * Update signals.py --- src/pretix/control/signals.py | 1 + src/pretix/control/templates/pretixcontrol/base.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pretix/control/signals.py b/src/pretix/control/signals.py index e18ec79bf..b587f02ad 100644 --- a/src/pretix/control/signals.py +++ b/src/pretix/control/signals.py @@ -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 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. +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 ` in pretix. diff --git a/src/pretix/control/templates/pretixcontrol/base.html b/src/pretix/control/templates/pretixcontrol/base.html index 24eab7c44..4ded1956e 100644 --- a/src/pretix/control/templates/pretixcontrol/base.html +++ b/src/pretix/control/templates/pretixcontrol/base.html @@ -78,7 +78,7 @@