Skip to content

Commit

Permalink
Mark user adminsitration as preview
Browse files Browse the repository at this point in the history
fix table layout
  • Loading branch information
ivarne committed Oct 31, 2023
1 parent 33bfdde commit 7f8d372
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
asp-action="Index">Pick frontend version</a>
</li>
<li class="nav-item">
<a class="nav-link text-dark" asp-area="" asp-controller="TenorUsers"
<a class="nav-link text-secondary" asp-area="" asp-controller="TenorUsers"
asp-action="Index">User administration</a>
</li>
<li class="nav-item">
Expand Down
16 changes: 11 additions & 5 deletions src/Views/TenorUsers/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


@{
ViewData["Title"] = "Local users and orgs";
ViewData["Title"] = "Local users and orgs (preview)";
}
<h1>@ViewData["Title"]</h1>

Expand All @@ -24,6 +24,12 @@
organisations and download "kildedata" for each org/user.
</p>

<div class="alert alert-info" role="alert">
Currently there isn't any syncronization between role assignments in tt02 and tenor, so you might need to manually
add the relevant roles for your apps to work as in tt02. The functionality presented here is mainly a simple way to
copy names, personal identification number and organization numbers.
</div>

<div class="card" style="width:30rem">
<div class="card-header">
<h3 class="card-title">Last opp tenor kildefiler</h3>
Expand Down Expand Up @@ -53,8 +59,8 @@
<tr>
<th>Velg</th>
<th>Filename</th>
<th>Person name</th>
<th>Fnr</th>
<th>Name</th>
<th>Fnr/org</th>
<th></th>
</tr>
</thead>
Expand All @@ -68,16 +74,16 @@
<td>@item.FileName</td>
@if (item.Brreg is not null)
{
<td>@item.Brreg.Navn</td>
<td>@item.Brreg.Organisasjonsnummer</td>
<td></td>
<td></td>
}
else if (item.Freg is not null)
{

<td>@item.Freg.Identifikasjonsnummer?.FirstErGjeldende()?.FoedselsEllerDNummer</td>
<td>@item.Freg.Navn?.FirstErGjeldende()?.Fornavn @item.Freg.Navn?.FirstErGjeldende()?.Mellomnavn
@item.Freg.Navn?.FirstErGjeldende()?.Etternavn</td>
<td>@item.Freg.Identifikasjonsnummer?.FirstErGjeldende()?.FoedselsEllerDNummer</td>
<td></td>

}
Expand Down

0 comments on commit 7f8d372

Please sign in to comment.