From ed77c4b49a92d036c514c1bd21d6a9d004f58bd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20H=C3=A4ttasch?= <benjamin.haettasch@fachschaft.informatik.tu-darmstadt.de> Date: Wed, 4 Mar 2020 00:12:36 +0100 Subject: [PATCH] Port AKPlan to fontawesome 5 --- AKPlan/templates/AKPlan/plan_index.html | 6 +++--- AKPlan/templates/AKPlan/plan_wall.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AKPlan/templates/AKPlan/plan_index.html b/AKPlan/templates/AKPlan/plan_index.html index 4d552e7b..bb8214e3 100644 --- a/AKPlan/templates/AKPlan/plan_index.html +++ b/AKPlan/templates/AKPlan/plan_index.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% load fontawesome %} +{% load fontawesome_5 %} {% load i18n %} {% load tags_AKModel %} {% load static %} @@ -109,7 +109,7 @@ {% block content %} <div class="float-right"> - <a href="{% url 'plan:plan_wall' event_slug=event.slug %}" class="btn btn-success">{% fontawesome_icon 'desktop' %} {% trans "AK Wall" %}</a> + <a href="{% url 'plan:plan_wall' event_slug=event.slug %}" class="btn btn-success">{% fa5_icon 'desktop' 'fas' %} {% trans "AK Wall" %}</a> </div> <h1>Plan: {{ event }}</h1> @@ -141,7 +141,7 @@ {% block footer_custom %} {% if event.contact_email %} <h4> - <a href="mailto:{{ event.contact_email }}">{% fontawesome_icon "envelope" %} {% trans "Write to organizers of this event for questions and comments" %}</a> + <a href="mailto:{{ event.contact_email }}">{% fa5_icon "envelope" "far" %} {% trans "Write to organizers of this event for questions and comments" %}</a> </h4> {% endif %} {% endblock %} diff --git a/AKPlan/templates/AKPlan/plan_wall.html b/AKPlan/templates/AKPlan/plan_wall.html index 8d21d59b..ca089605 100644 --- a/AKPlan/templates/AKPlan/plan_wall.html +++ b/AKPlan/templates/AKPlan/plan_wall.html @@ -1,7 +1,7 @@ {% load static %} {% load i18n %} {% load bootstrap4 %} -{% load fontawesome %} +{% load fontawesome_5 %} {% load tags_AKModel %} {% load tz %} @@ -15,7 +15,7 @@ {# Load Bootstrap CSS and JavaScript as well as font awesome #} {% bootstrap_css %} {% bootstrap_javascript jquery='slim' %} - {% fontawesome_stylesheet %} + {% fontawesome_5_static %} <link rel="stylesheet" href="{% static 'common/css/custom.css' %}"> -- GitLab