Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (26 sloc) 584 Bytes
@using RavenOverflow.Web.Models.ViewModels
@model IndexViewModel
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Header
{
@Model.Header
}
@section SideBar
{
@if (Model != null)
{
Html.RenderPartial("_UserTagList", Model.UserFavoriteTagListViewModel);
Html.RenderPartial("_UserTagList", Model.UserIgnoredTagList);
Html.RenderPartial("_TagListVertical", Model.RecentPopularTags);
}
}
@if (Model == null)
{
<p>No questions have been asked.</p>
}
else
{
Html.RenderPartial("_QuestionList", Model.QuestionListViewModel);
}