Besciamello #1
@@ -3,7 +3,15 @@
|
|||||||
var action = ViewContext.RouteData.Values["Action"];
|
var action = ViewContext.RouteData.Values["Action"];
|
||||||
}
|
}
|
||||||
|
|
||||||
<ol class="breadcrumb">
|
<div class="breadcrumb">
|
||||||
<li><a href="/"><i class="fa fa-dashboard"></i> @controller</a></li>
|
@Html.ActionLink("Home", "Index", "Home")
|
||||||
<li class="active">@action</li>
|
@if (controller.ToString() != "Home")
|
||||||
</ol>
|
{
|
||||||
|
@:> @Html.ActionLink(controller.ToString(), "Index", controller.ToString())
|
||||||
|
}
|
||||||
|
@if (action.ToString() != "Index")
|
||||||
|
{
|
||||||
|
@:> @Html.ActionLink(action.ToString(), action.ToString(), controller.ToString())
|
||||||
|
}
|
||||||
|
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user