8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 23:43:47 +00:00

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.
This commit is contained in:
Alexandre Iooss 2018-09-27 22:23:45 +02:00
parent 8045645502
commit 0f7f14c1ea
4 changed files with 6 additions and 5 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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 */