@model BuildFeed.Models.ViewModel.SitemapData
@{
ViewBag.Title = "Sitemap | BuildFeed";
}
Sitemap
-
@Html.ActionLink("BuildFeed", "index", "build")
-
Builds
@foreach (var buildGroup in Model.Builds)
{
-
@Html.ActionLink(buildGroup.Id.ToString(), "viewGroup", new { controller = "front", major = buildGroup.Id.Major, minor = buildGroup.Id.Minor, number = buildGroup.Id.Build, revision = buildGroup.Id.Revision })
@foreach (var build in buildGroup.Builds)
{
- @Html.ActionLink(build.Name, "viewGroup", new { controller = "front", id = build.Id })
}
}
@foreach (var item in Model.Actions)
{
-
@item.Key
@foreach (var action in item.Value)
{
if (string.IsNullOrEmpty(action.Name))
{
- @Html.ActionLink("Page 1", action.Action, action.UrlParams)
for (int i = 2; i <= action.Pages; i++)
{
var urlParams = action.UrlParams;
urlParams["page"] = i;
- @Html.ActionLink("Page " + i.ToString(), action.Action + "Page", urlParams)
}
}
else
{
-
@action.Name
- @Html.ActionLink("Page 1", action.Action, action.UrlParams)
@for (int i = 2; i <= action.Pages; i++)
{
var urlParams = action.UrlParams;
urlParams["page"] = i;
- @Html.ActionLink("Page " + i.ToString(), action.Action + "Page", urlParams)
}
}
}
}
-
RSS Feeds