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");
|
background-image: image-url("icons/bubble.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
&.attachment {
|
&.attached {
|
||||||
background-image: image-url("icons/attachment.svg");
|
background-image: image-url("icons/attached.svg");
|
||||||
}
|
}
|
||||||
|
|
||||||
&.preview {
|
&.preview {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
- if !PiecesJustificativesService.liste_pieces_justificatives(dossier).empty?
|
- if !PiecesJustificativesService.liste_pieces_justificatives(dossier).empty?
|
||||||
%span.dropdown.print-menu-opener
|
%span.dropdown.print-menu-opener
|
||||||
%button.button.dropdown-button.icon-only
|
%button.button.dropdown-button.icon-only
|
||||||
%span.icon.attachment
|
%span.icon.attached
|
||||||
%ul.print-menu.dropdown-content
|
%ul.print-menu.dropdown-content
|
||||||
%li
|
%li
|
||||||
- if PiecesJustificativesService.pieces_justificatives_total_size(dossier) < Dossier::TAILLE_MAX_ZIP
|
- if PiecesJustificativesService.pieces_justificatives_total_size(dossier) < Dossier::TAILLE_MAX_ZIP
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
%span.icon.edit
|
%span.icon.edit
|
||||||
%span.icon.in-progress
|
%span.icon.in-progress
|
||||||
%span.icon.bubble
|
%span.icon.bubble
|
||||||
%span.icon.attachment
|
%span.icon.attached
|
||||||
%span.icon.lock
|
%span.icon.lock
|
||||||
%span.icon.add
|
%span.icon.add
|
||||||
%span.icon.justificatif
|
%span.icon.justificatif
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
.attachment-link{ 'data-attachment-id': attachment.id, 'data-attachment-check-url': attachment_check_url }
|
.attachment-link{ 'data-attachment-id': attachment.id, 'data-attachment-check-url': attachment_check_url }
|
||||||
- if should_display_link
|
- if should_display_link
|
||||||
= link_to url_for(attachment.blob), target: '_blank', rel: 'noopener', title: "Télécharger la pièce jointe" do
|
= 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
|
= attachment.filename.to_s
|
||||||
- if !attachment.virus_scanner.started?
|
- if !attachment.virus_scanner.started?
|
||||||
(ce fichier n’a pas été analysé par notre antivirus, téléchargez-le avec précaution)
|
(ce fichier n’a pas été analysé par notre antivirus, téléchargez-le avec précaution)
|
||||||
|
|
Loading…
Add table
Reference in a new issue