| Line | |
|---|
| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Models.UserConfirmViewData>" %>
|
|---|
| 2 | <%@ Import Namespace ="Wierszowki.Models" %>
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | <%= Model.Naglowek %>
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 8 |
|
|---|
| 9 | <%if (ViewData.Model.ErrorInfo != "")
|
|---|
| 10 | {
|
|---|
| 11 | %>
|
|---|
| 12 | <p class="error_info">
|
|---|
| 13 | <%=ViewData.Model.ErrorInfo%>
|
|---|
| 14 | </p>
|
|---|
| 15 | <%
|
|---|
| 16 | }
|
|---|
| 17 | else
|
|---|
| 18 | {
|
|---|
| 19 | if (ViewData.Model.Akcja == OperationType.Update)
|
|---|
| 20 | {
|
|---|
| 21 | %>
|
|---|
| 22 | <h2>Pomylnie zaktualizowano u¿ytkownika: <%= Html.Encode(ViewData.Model.User.FullName)%></h2>
|
|---|
| 23 | <%
|
|---|
| 24 | }
|
|---|
| 25 | else if (ViewData.Model.Akcja == OperationType.Create)
|
|---|
| 26 | {
|
|---|
| 27 | %>
|
|---|
| 28 | <h2>Pomylnie dodano u¿ytkownika: <%= Html.Encode(ViewData.Model.User.FullName)%> %></h2>
|
|---|
| 29 | <%
|
|---|
| 30 | }
|
|---|
| 31 | }
|
|---|
| 32 | %>
|
|---|
| 33 | <div>
|
|---|
| 34 | <%=Html.ActionLink("Powrót do listy u¿ytkowników", "Index") %>
|
|---|
| 35 | </div>
|
|---|
| 36 | </asp:Content>
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.