Skip to content
Snippets Groups Projects
Verified Commit a2aa8588 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Replace all icons with Iconify icons

parent 697eb193
No related branches found
No related tags found
1 merge request!2Views
......@@ -3,18 +3,19 @@ from django.utils.translation import gettext_lazy as _
MENUS = {
"NAV_MENU_CORE": [
{
"name": _("Stoelindeling"),
"name": _("Seating plans"),
"url": "#",
"root": True,
"svg_icon": "mdi:seat-outline",
"validators": [
"menu_generator.validators.is_authenticated",
"aleksis.core.util.core_helpers.has_person",
],
"submenu": [
{
"name": _("Seating plans"),
"name": _("All seating plans"),
"url": "seating_plans",
"icon": "label",
"svg_icon": "mdi:view-list-outline",
"validators": [
(
"aleksis.core.util.predicates.permission_validator",
......
......@@ -7,7 +7,7 @@
{% block page_title %}
<a href="{% url "seating_plans" %}"
class="btn-flat primary-color-text waves-light waves-effect">
<i class="material-icons left">chevron_left</i> {% trans "Back" %}
<i class="material-icons left iconify" data-icon="mdi:chevron-left"></i> {% trans "Back" %}
</a>
{% blocktrans %}Edit seating plan{% endblocktrans %}
{% endblock %}
......
......@@ -10,7 +10,7 @@
{% block content %}
<a class="btn green waves-effect waves-light" href="{% url 'create_seating_plan' %}">
<i class="material-icons left">add</i>
<i class="material-icons left iconify" data-icon="mdi:plus">add</i>
{% trans "Create seating plan" %}
</a>
......
......@@ -8,7 +8,7 @@
{% block page_title %}
<a href="{% url "seating_plans" %}"
class="btn-flat primary-color-text waves-light waves-effect">
<i class="material-icons left">chevron_left</i> {% trans "Back" %}
<i class="material-icons left iconify" data-icon="mdi:chevron-left"></i> {% trans "Back" %}
</a>
{% blocktrans with plan=object %}Seating plan: {{ plan }}{% endblocktrans %}
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment