Skip to content

Commit

Permalink
Format CFP Members page
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmarti committed Mar 11, 2023
1 parent 1bcf0ef commit a4f3d08
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/views/CFPAdmin/showCFPUsers.scala.html
Expand Up @@ -26,7 +26,10 @@ <h3><i class="fas fa-user-md"></i> @Messages("admin.btn.tracklead")</h3>
<table class="table table-striped table-bordered table-sm">
<thead>
<tr>
<th>@Messages("firstName") @Messages("lastName")</th>
<th>@Messages("firstName")</th>
<th>@Messages("lastName")</th>
<th>@Messages("company")</th>
<th>@Messages("email")</th>
<th>@Messages("show.on.publisher.committee.page")</th>
<th>@Messages("update.publisher.committee.page")</th>

Expand All @@ -36,15 +39,18 @@ <h3><i class="fas fa-user-md"></i> @Messages("admin.btn.tracklead")</h3>
<tbody>
@allCFPWebusers.sortBy(_.cleanName).map{ webuser=>
<tr>
<td>@webuser.cleanName</td>
<td>@webuser.firstName.trim</td>
<td>@webuser.lastName.trim.toUpperCase()</td>
<td>@Speaker.findByUUID(webuser.uuid).map(_.company).getOrElse("")</td>
<td>@webuser.email</td>
<td>@if(Webuser.isPublicVisible(webuser.uuid)){
true
} else {
false
}
</td>
<td>
<a href="@routes.CFPAdmin.switchPublicVisibility(webuser.uuid)">Switch</a>
<a href="@routes.CFPAdmin.switchPublicVisibility(webuser.uuid)" class="btn-success">Switch</a>
</td>
</tr>

Expand Down

0 comments on commit a4f3d08

Please sign in to comment.