mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 17:22:15 +00:00
fix pagination
This commit is contained in:
parent
c63d62925b
commit
b44a5c227c
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
|||
<ul class="pagination">
|
||||
@for(int i = 1; i <= Model.PageCount; i++)
|
||||
{
|
||||
if (i == Model.CurrentPage - 1)
|
||||
if (i == Model.CurrentPage + 1)
|
||||
{
|
||||
<li class="active">@Html.ActionLink(i.ToString(), "Codepoints", "Stats", new { id = i }, null)</li>
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<ul class="pagination">
|
||||
@for(int i = 1; i <= Model.PageCount; i++)
|
||||
{
|
||||
if (i == Model.CurrentPage - 1)
|
||||
if (i == Model.CurrentPage + 1)
|
||||
{
|
||||
<li class="active">@Html.ActionLink(i.ToString(), "Pong", "Stats", new { id = i }, null)</li>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue