Skip to content

Commit

Permalink
Let the variants list link to the variant name. (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zifah authored Aug 8, 2024
1 parent 904ab9e commit 2d2b9ea
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Website/Pages/SingleEntry.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<h4>@Localizer["extendedmeaningof"]</h4>
<p>@Model.Name.ExtendedMeaning</p>
}

@if (Model.Name.Videos.Any())
{
<br>
Expand Down Expand Up @@ -134,7 +134,11 @@

<br>
<h4>@Localizer["variants"]</h4>
<p class="intonation">@Model.Name.Variants</p>

foreach (var variant in (List<string>)Model.Name.Variants)
{
<p class="name"><a href="/entries/@variant" target="_self">@variant</a></p>
}
}
</div>

Expand Down

0 comments on commit 2d2b9ea

Please sign in to comment.