Replaced all <span class="glyphicon... with {% bootstrap_icon ...

This commit is contained in:
2018-02-22 16:07:10 +01:00
parent e3cf540982
commit 2a5ec58c55
9 changed files with 36 additions and 25 deletions

View File

@@ -1,4 +1,5 @@
{% extends 'dav_events/base.html' %}
{% load bootstrap3 %}
{% load i18n %}
{% block head-title %}{{ event }} - {{ block.super }}{% endblock head-title %}
@@ -18,11 +19,11 @@
</div>
<div class="modal-footer">
<a class="btn btn-success" href="{% url 'dav_events:event_accept' event.pk %}">
<span class="glyphicon glyphicon-ok"></span>&thinsp;
{% bootstrap_icon 'ok' %}&thinsp;
{% trans 'Ja, mach schon!' %}
</a>
<button type="button" class="btn btn-danger" data-dismiss="modal">
<span class="glyphicon glyphicon-remove"></span>&thinsp;
{% bootstrap_icon 'remove' %}&thinsp;
{% trans 'Abbrechen' %}
</button>
</div>
@@ -36,15 +37,17 @@
<div class="pull-right">
<a class="btn {% if has_permission_accept %}btn-success{% else %}btn-default disabled{% endif %}"
data-toggle="modal" data-target="#modal-accept-dialog">
<span class="glyphicon glyphicon-check"></span>&thinsp;
{% bootstrap_icon 'check' %}&thinsp;
{% trans 'Freigeben' %}
</a>
<!--
<a class="btn btn-warning"
href="{% url 'dav_events:event_detail' event.pk %}"
title="{% trans 'Diese Veranstaltung als Vorlage für eine neue Veranstaltung benutzen' %}">
<span class="glyphicon glyphicon-duplicate"></span>&thinsp;
{% bootstrap_icon 'duplicate' %}&thinsp;
{% trans 'Kopieren' %}
</a>
-->
</div>
<ul class="nav nav-tabs" role="tablist">
<li>