From 28979e1d3c85017c385638fc3a9f3c7bc8f617d2 Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Tue, 25 Sep 2018 19:52:31 +0300 Subject: [PATCH] Version combo post back --- .../Pages/Documents/Project/Index.cshtml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml index 07994c8beb..a44b45302b 100644 --- a/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml +++ b/modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml @@ -75,6 +75,7 @@ + @if (Model.Versions.Any()) {
@@ -83,22 +84,13 @@
- @Html.DropDownList("Version", Model.Versions.Select(v => new SelectListItem - { - Text = v.DisplayText, - Value = "/documents/" + Model.ProjectName + "/" + v.Version + "/" + Model.DocumentName, - Selected = v.IsSelected - }), new {@class = "form-control"}) + + +
} - @* @if (Model.Versions.Any()) - { -
- -
- } *@