-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transformation de la bannière jaune pour les rdv à renseigner #4907
base: production
Are you sure you want to change the base?
Changes from all commits
fc43b52
17c2fcc
a015c48
5f73511
32a43db
ac00ddd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,6 @@ | ||
- agent_already_busy = controller.action_name.in?(["new", "create", "edit", "update"]) # Un agent qui remplit un formulaire ne va pas interrompre son action pour renseigner des rdvs | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Je pense aussi que ça n’est plus pertinent maintenant que le message est dans le header, ça serait même un peu perturbant de le voir apparaître - disparaître |
||
- if organisation.present? && agent && agent.unknown_past_rdv_count > 0 \ | ||
&& !agent_already_busy \ | ||
&& !agent.conseiller_numerique? # See https://github.com/betagouv/rdv-solidarites.fr/issues/2245 | ||
= link_to a_renseigner_admin_organisation_rdvs_path(organisation) | ||
.navbar.alert-warning.p-2 | ||
div.mr-4 | ||
.fa.fa-exclamation-triangle.alert-link> | ||
span.ml-1.alert-link = t(".unknown_past_rdv_count", count: agent.unknown_past_rdv_count ) | ||
button.btn.rdv-status-unknown_past.float-right = t(".link_to_unknown_past_rdv") | ||
/ locals(organisation: nil) | ||
- if current_agent.unknown_past_rdv_count > 0 && !current_agent.conseiller_numerique? # See https://github.com/betagouv/rdv-solidarites.fr/issues/2245 | ||
li.list-inline-item.fr-mr-2w | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion tout à fait minime et absolument pas bloquante: on pourrait introduire un alias de |
||
= link_to a_renseigner_admin_organisation_rdvs_path(organisation || current_agent.rdvs.a_renseigner.first.organisation_id), class: "btn text-primary-blue link-dsfr" do | ||
span.fr-icon--sm.fr-mr-1v.fr-icon-warning-fill[aria-hidden="true"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
= "#{current_agent.unknown_past_rdv_count} RDV à renseigner" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool de supprimer ça 👍