Browse Source

Fix Font Awesome icons

Some icons had their id changed in the Debian version (4.7.0) so their
id need to be updated.

Also the width of an icon in a button was reduced to make it more
compact.
reminder-serializer
Alexandre Iooss 7 years ago
parent
commit
0f7f14c1ea
  1. 2
      cotisations/templates/cotisations/aff_cotisations.html
  2. 2
      cotisations/templates/cotisations/aff_custom_invoice.html
  3. 2
      machines/templates/machines/aff_machines.html
  4. 5
      static/css/base.css

2
cotisations/templates/cotisations/aff_cotisations.html

@ -78,7 +78,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td>
{% if facture.valid %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:facture-pdf' facture.id %}">
<i class="fa fa-file-pdf"></i> {% trans "PDF" %}
<i class="fa fa-file-pdf-o"></i> {% trans "PDF" %}
</a>
{% else %}
<i class="text-danger">{% trans "Invalidated invoice" %}</i>

2
cotisations/templates/cotisations/aff_custom_invoice.html

@ -76,7 +76,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% acl_end %}
{% history_button invoice %}
<a class="btn btn-primary btn-sm" role="button" href="{% url 'cotisations:custom-invoice-pdf' invoice.id %}">
<i class="fa fa-file-pdf"></i> {% trans "PDF" %}
<i class="fa fa-file-pdf-o"></i> {% trans "PDF" %}
</a>
</td>
</tr>

2
machines/templates/machines/aff_machines.html

@ -52,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<td colspan="4">
{% trans "No name" as tr_no_name %}
{% trans "View the profile" as tr_view_the_profile %}
<b>{{ machine.name|default:'<i>tr_no_name</i>' }}</b> <i class="fa-angle-right"></i>
<b>{{ machine.name|default:'<i>tr_no_name</i>' }}</b> <i class="fa fa-angle-right"></i>
<a href="{% url 'users:profil' userid=machine.user.id %}" title=tr_view_the_profile>
<i class="fa fa-user"></i> {{ machine.user }}
</a>

5
static/css/base.css

@ -12,10 +12,10 @@ footer p {
.navbar { margin-bottom: 0; }
.pt4 { padding-top: 1.5rem!important; }
/* Reserv space for icons and align */
/* Reserve space for icons and align */
a > i.fa {
display: inline-block;
width: 26px;
width: 16px;
text-align: center;
}
@ -111,6 +111,7 @@ a > i.fa {
.modal-dialog {
width: 1000px
}
}
/* For tables with long text in cells */

Loading…
Cancel
Save