Skip to content

Commit

Permalink
Update HtmlHelper.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed May 3, 2024
1 parent 4eb0c51 commit 3e3338a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Moonglade.Web/PagedList/HtmlHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,6 @@ private TagBuilder PageCountAndLocationText(IPagedList list, PagedListRenderOpti
return WrapInListItem(text, "PagedList-pageCountAndLocation", "disabled");
}

private TagBuilder ItemSliceAndTotalText(IPagedList list, PagedListRenderOptions options)
{
var text = tagBuilderFactory
.Create("a");

SetInnerText(text, string.Format(options.ItemSliceAndTotalFormat, list.FirstItemOnPage, list.LastItemOnPage, list.TotalItemCount));

return WrapInListItem(text, "PagedList-pageCountAndLocation", "disabled");
}

#endregion Private methods

public string PagedListPager(IPagedList pagedList, Func<int, string> generatePageUrl, PagedListRenderOptions options)
Expand Down

0 comments on commit 3e3338a

Please sign in to comment.