|
Wersja 854, 0.9 KB
(wprowadzona przez marek, 17 years temu)
|
|
re #184 - merged with latest trunk
|
| Line | |
|---|
| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Models.ConfirmViewData>" %>
|
|---|
| 2 | <%@ Import Namespace ="Wierszowki.Models" %>
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | Potwierdzenie dodania/edycji autora
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 8 |
|
|---|
| 9 | <%if (Model.akcja == OperationType.Update)
|
|---|
| 10 | {
|
|---|
| 11 | %>
|
|---|
| 12 | <h2>Pomylnie zaktualizowano dane autora: <%= Html.Encode(Model.Author.FirstName + " " + Model.Author.LastName)%></h2>
|
|---|
| 13 | <%
|
|---|
| 14 | }
|
|---|
| 15 | else if(Model.akcja == OperationType.Create)
|
|---|
| 16 | {
|
|---|
| 17 | %>
|
|---|
| 18 | <h2>Pomylnie dodano autora: <%= Html.Encode(Model.Author.FirstName + " " + Model.Author.LastName)%></h2>
|
|---|
| 19 | <%
|
|---|
| 20 | }
|
|---|
| 21 | %>
|
|---|
| 22 | <div>
|
|---|
| 23 | <%= Html.ActionLink("Powrót do listy autorów", "Index") %>
|
|---|
| 24 | </div>
|
|---|
| 25 | </asp:Content> |
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.