-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ajoute des traductions pour le composant 'bouton_mise_en_action'
- Loading branch information
1 parent
eacfbb5
commit 1306a78
Showing
2 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
<div class='mise-en-action__texte d-flex justify-content-center text-primary text-center' data-reponse=""> | ||
<% classe_reponse_oui = evaluation.a_mise_en_action? && evaluation.mise_en_action.effectuee == true ? '' : 'hidden' %> | ||
<div data-reponse="true" class="mise-en-action <%= classe_reponse_oui %>"> | ||
<strong>Oui</strong>, vous avez trouvé une solution<br> | ||
(<a href="#" class="modifier-mise-en-action">Modifier votre réponse</a>) | ||
<%= t('.reponse_oui_html') %><br> | ||
(<a href="#" class="modifier-mise-en-action"><%= t(".modifier_reponse") %></a>) | ||
</div> | ||
<% classe_reponse_non = evaluation.a_mise_en_action? && evaluation.mise_en_action.effectuee == false ? '' : 'hidden' %> | ||
<div data-reponse="false" class="mise-en-action <%= classe_reponse_non %>"> | ||
<strong>Non</strong>, vous n'avez pas trouvé de solution<br> | ||
(<a href="#" class="modifier-mise-en-action">Modifier votre réponse</a>) | ||
<%= t('.reponse_non_html') %><br> | ||
(<a href="#" class="modifier-mise-en-action"><%= t(".modifier_reponse") %></a>) | ||
</div> | ||
<% classe_reponse_en_attente = evaluation.a_mise_en_action? ? 'hidden' : 'd-flex' %> | ||
<div data-reponse="vide" class="actions mise-en-action <%= classe_reponse_en_attente %>"> | ||
<%= render(BoutonComponent.new('Oui', '#', class: 'reponse-mise-en-action', 'data-reponse': true)) %> | ||
<%= render(BoutonComponent.new('Non', '#', class: 'reponse-mise-en-action', 'data-reponse': false)) %> | ||
<%= render(BoutonComponent.new(t('.bouton_oui'), '#', class: 'reponse-mise-en-action', 'data-reponse': true)) %> | ||
<%= render(BoutonComponent.new(t('.bouton_non'), '#', class: 'reponse-mise-en-action', 'data-reponse': false)) %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters