@model NamesLibraryViewModel
@Model.TotalRows.ToString("N0") namesPage @Model.Filter.Page of @Model.TotalPages
@if(!Model.Results.Any()){

No matching catalogue names. You can inspect the exact spelling using the search field.

} @foreach(var row in Model.Results){ var icon=row.PrimaryCount>0?(row.AssociationTypeCode is null?"characters":CharacterTypes.Definition(row.AssociationTypeCode).Icon):row.AliasCount>0?"name-alias":"name-available"; }