Skip to content

Commit

Permalink
Correction régression pour la selection d'une organisme pour un groupe (
Browse files Browse the repository at this point in the history
  • Loading branch information
jdauphant authored Feb 11, 2020
1 parent 11edfa8 commit 2af72cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/allArea.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<i class="material-icons" style="vertical-align: middle;">edit</i>
</a>
} Groupe : @userGroup.name @userGroup.organisationSetOrDeducted match {
case Some(organisation) => { ( @organisation ) }
case Some(organisation) => { ( @organisation.name ) }
case None => {}
}
</td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/editGroup.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<select id="organisation" name="organisation">
<option @if(userGroup.organisation.isEmpty){selected} style="font-weight: bold" value="">Organisme non-référencé</option>
@for(organisation <- Organisation.all) {
<option value="@organisation.shortName" @if(userGroup.organisation.contains(organisation.shortName)){selected}>@organisation.shortName : @organisation.name</option>
<option value="@organisation.id.id" @if(userGroup.organisation.contains[Organisation.Id](organisation.id)){selected}>@organisation.shortName : @organisation.name</option>
}
</select>
</div>
Expand Down

0 comments on commit 2af72cc

Please sign in to comment.