images: rename 'attachment' icon to 'attached'
This avoids conflicts with the 'attachment' component.
This commit is contained in:
parent
aea93779cc
commit
2e0ef84941
5 changed files with 5 additions and 5 deletions
Before Width: | Height: | Size: 530 B After Width: | Height: | Size: 530 B |
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 n’a pas été analysé par notre antivirus, téléchargez-le avec précaution)
|
||||
|
|
Loading…
Reference in a new issue