using view imports
This commit is contained in:
parent
da811bd491
commit
3950af5c97
66 changed files with 74 additions and 71 deletions
|
|
@ -1,4 +1,4 @@
|
|||
@model Yavsc.Models.Blog
|
||||
@model Blog
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Create";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model Yavsc.Models.Blog
|
||||
@model Blog
|
||||
@{
|
||||
ViewData["Title"] = "Delete";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model Yavsc.Models.Blog
|
||||
@model Blog
|
||||
|
||||
@{
|
||||
ViewData["Title"]=Model.Title;
|
||||
|
|
@ -18,13 +18,13 @@
|
|||
<div class="meta">
|
||||
@SR["Author"] : @Model.Author.UserName -
|
||||
|
||||
@SR["Modified"] :
|
||||
@SR["Modified"] :
|
||||
|
||||
@Html.DisplayFor(model => model.DateModified) -
|
||||
|
||||
@SR["Created"] :
|
||||
|
||||
@Html.DisplayFor(model => model.DateCreated)
|
||||
@Html.DisplayFor(model => model.DateModified) -
|
||||
|
||||
@SR["Created"] :
|
||||
|
||||
@Html.DisplayFor(model => model.DateCreated)
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model Yavsc.Models.Blog
|
||||
@model Blog
|
||||
|
||||
@{
|
||||
ViewData["Title"] = SR["Blog post edition"];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model IEnumerable<Yavsc.Models.Blog>
|
||||
@model IEnumerable<Blog>
|
||||
@{
|
||||
ViewData["Title"] = "Index";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model IEnumerable<Yavsc.Models.Blog>
|
||||
@model IEnumerable<Blog>
|
||||
@{
|
||||
ViewData["Title"] = "Title";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
@model IEnumerable<Yavsc.Models.Blog>
|
||||
@model IEnumerable<Blog>
|
||||
@{
|
||||
ViewData["Title"] = "User posts";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue