images: rename 'attachment' icon to 'attached'

This avoids conflicts with the 'attachment' component.
This commit is contained in:
Pierre de La Morinerie 2019-10-22 10:21:16 +00:00
parent aea93779cc
commit 2e0ef84941
5 changed files with 5 additions and 5 deletions

View file

Before

Width:  |  Height:  |  Size: 530 B

After

Width:  |  Height:  |  Size: 530 B

View file

@ -59,8 +59,8 @@
background-image: image-url("icons/bubble.svg");
}
&.attachment {
background-image: image-url("icons/attachment.svg");
&.attached {
background-image: image-url("icons/attached.svg");
}
&.preview {

View file

@ -10,7 +10,7 @@
- if !PiecesJustificativesService.liste_pieces_justificatives(dossier).empty?
%span.dropdown.print-menu-opener
%button.button.dropdown-button.icon-only
%span.icon.attachment
%span.icon.attached
%ul.print-menu.dropdown-content
%li
- if PiecesJustificativesService.pieces_justificatives_total_size(dossier) < Dossier::TAILLE_MAX_ZIP

View file

@ -14,7 +14,7 @@
%span.icon.edit
%span.icon.in-progress
%span.icon.bubble
%span.icon.attachment
%span.icon.attached
%span.icon.lock
%span.icon.add
%span.icon.justificatif

View file

@ -8,7 +8,7 @@
.attachment-link{ 'data-attachment-id': attachment.id, 'data-attachment-check-url': attachment_check_url }
- if should_display_link
= link_to url_for(attachment.blob), target: '_blank', rel: 'noopener', title: "Télécharger la pièce jointe" do
%span.icon.attachment
%span.icon.attached
= attachment.filename.to_s
- if !attachment.virus_scanner.started?
(ce fichier na pas été analysé par notre antivirus, téléchargez-le avec précaution)