Add feature flag OpenSimplif for comments per field
This commit is contained in:
parent
5556775ee9
commit
17e5800487
3 changed files with 20 additions and 13 deletions
|
@ -99,6 +99,9 @@
|
|||
.comments {
|
||||
margin-right: -10px;
|
||||
}
|
||||
.comments-off {
|
||||
margin-right: -35px;
|
||||
}
|
||||
.dossier-title {
|
||||
font-size: 16px;
|
||||
min-height: 40px;
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
- else
|
||||
.row
|
||||
%div.col-md-6.col-lg-6.depositaire-label= champ.libelle
|
||||
- if Features.opensimplif
|
||||
%div.col-md-1.col-lg-1.comments
|
||||
- if gestionnaire_signed_in?
|
||||
= link_to "", "data-href" => backoffice_dossier_commentaires_path(@facade.dossier, champs_id: champ.id), "data-toggle" => "modal", "data-target" => "#modalCommentairesDossierParChamp" do
|
||||
|
@ -36,6 +37,9 @@
|
|||
- else
|
||||
= link_to "", "data-href" => users_dossier_commentaires_path(@facade.dossier, champs_id: champ.id), "data-toggle" => "modal", "data-target" => "#modalCommentairesDossierParChamp" do
|
||||
%i.fa.fa-commenting-o
|
||||
- else
|
||||
%div.col-md-1.col-lg-1.comments-off
|
||||
= "-"
|
||||
%div.col-md-5.col-lg-5.depositaire-info
|
||||
- unless champ.decorate.value.blank?
|
||||
= champ.decorate.value.html_safe
|
||||
|
|
Loading…
Reference in a new issue