|
Wersja 933, 1.0 KB
(wprowadzona przez marek, 16 years temu)
|
|
re #215 - drobny refactoring
|
| Line | |
|---|
| 1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Platnosci.Models.ErrorViewData>" %>
|
|---|
| 2 | <%@ Import Namespace ="Platnosci.Models" %>
|
|---|
| 3 | <asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | <%
|
|---|
| 5 | FunkcjePlatnosci func = new FunkcjePlatnosci();
|
|---|
| 6 | string str = func.setTitle();
|
|---|
| 7 | %>
|
|---|
| 8 | <%=str + HttpContext.GetGlobalResourceObject("tlumaczenia", "InfoError").ToString()%>
|
|---|
| 9 | </asp:Content>
|
|---|
| 10 |
|
|---|
| 11 | <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 12 |
|
|---|
| 13 | <p class="Info">
|
|---|
| 14 | <%=Model.Error%>
|
|---|
| 15 | <%if (Model.Error == HttpContext.GetGlobalResourceObject("tlumaczenia", "error_hash").ToString())
|
|---|
| 16 | {
|
|---|
| 17 | string link2 = HttpContext.GetGlobalResourceObject("tlumaczenia", "KolejnaProba").ToString();%>
|
|---|
| 18 | <span id="link1"><%=Html.ActionLink(link2, "Show", "Platnosc", new { id = Model.InvoiceId }, null)%></span>
|
|---|
| 19 | <%}%>
|
|---|
| 20 | </p>
|
|---|
| 21 | </asp:Content>
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.