Browse Source

Fixed number of invite codes available displayed in settings navigation.

tags/3.0.0
Teknikode 1 year ago
parent
commit
bf67409af6
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/User/Views/User/Settings/Settings.cshtml

+ 1
- 1
Teknik/Areas/User/Views/User/Settings/Settings.cshtml View File

@@ -26,7 +26,7 @@
<div class="panel-heading text-center"><strong>Account Settings</strong></div>
<a href="@Url.SubRouteUrl("user", "User.SecuritySettings")" class="list-group-item @(Model.Page == "Security" ? "active" : string.Empty)">Security</a>
<a href="@Url.SubRouteUrl("user", "User.ProfileSettings")" class="list-group-item @(Model.Page == "Profile" ? "active" : string.Empty)">Profile</a>
<a href="@Url.SubRouteUrl("user", "User.InviteSettings")" class="list-group-item @(Model.Page == "Invite" ? "active" : string.Empty)">Invite Codes (@(User.Info.OwnedInviteCodes.Where(c => c.Active).Count()))</a>
<a href="@Url.SubRouteUrl("user", "User.InviteSettings")" class="list-group-item @(Model.Page == "Invite" ? "active" : string.Empty)">Invite Codes (@(User.Info.OwnedInviteCodes.Where(c => c.Active && c.ClaimedUser == null).Count()))</a>
<a href="@Url.SubRouteUrl("user", "User.BlogSettings")" class="list-group-item @(Model.Page == "Blog" ? "active" : string.Empty)">Blogging</a>
<a href="@Url.SubRouteUrl("user", "User.UploadSettings")" class="list-group-item @(Model.Page == "Upload" ? "active" : string.Empty)">Uploads</a>
</ul>

Loading…
Cancel
Save