Pokaż
Ignoruj:
Data:
2009-10-15 15:45:07 (17 years ago)
Autor:
marek
Opis:

re #184 - merged with latest trunk

Lokalizacja:
branches/Abonament
Pliki:
2 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/Abonament

    • Property svn:mergeinfo
      •  

        old new  
        22/branches/ReklamaReorganizacja:568-731 
        33/tags/BazaReklam_1.1.28:831 
        4 /trunk:708-758,760-838 
         4/trunk:708-758,760-853 
  • branches/Abonament/Wierszowki/Wierszowki.Web/Views/Author/Confirm.aspx

    r752 r854  
    1 <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Core.Linq.Author>" %> 
    2  
     1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Wierszowki.Models.ConfirmViewData>" %> 
     2<%@ Import Namespace ="Wierszowki.Models" %> 
    33<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"> 
    44        Potwierdzenie dodania/edycji autora 
     
    77<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> 
    88 
    9     <h2>Pomyœlnie dodano/zaktualizowano dane autora: <%= Html.Encode(ViewData.Model.FirstName + " " + ViewData.Model.LastName) %></h2> 
     9    <%if (Model.akcja == OperationType.Update) 
     10    {  
     11    %> 
     12        <h2>Pomyœlnie 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>Pomyœlnie dodano autora: <%= Html.Encode(Model.Author.FirstName + " " + Model.Author.LastName)%></h2> 
     19    <% 
     20    }       
     21    %>     
    1022    <div> 
    11         <%=Html.ActionLink("Powrót do listy autorów", "Index") %> 
     23        <%= Html.ActionLink("Powrót do listy autorów", "Index") %> 
    1224    </div> 
    1325</asp:Content>