root/branches/Emisje/Wierszowki/Wierszowki.Web/Views/Report/All.aspx @ 796

Wersja 796, 2.0 KB (wprowadzona przez marek, 17 years temu)

re #195 - merged with latest trunk

Line 
1<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Wierszowki.Core.Linq.MagazineItem>>" %>
2
3<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
4        Wierszówki do wyceny
5</asp:Content>
6
7<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
8    <h2>Wierszówki do wyceny</h2>
9    <table>
10        <tr>
11            <th></th>
12            <th>Miesi¹c</th>
13            <th>Autor</th>
14            <th>Wydanie</th>
15            <th>Typ</th>
16            <th>Tytu³</th>
17            <th>Opis</th>
18            <th>Wycena</th>
19            <th>Bonus</th>
20            <th>Kto utworzy³</th>
21            <th>Ostatnia aktualizacja</th>
22        </tr>
23
24    <% foreach (var item in Model) { %>
25   
26        <tr>
27            <td>
28                <%= Html.ActionLink("Edycja", "Edit", "MagazineItem", new { id=item.Id }, null) %>
29            </td>
30            <td>
31                <%= Html.Encode(item.Date.ToString("yyyy-MM")) %>
32            </td>
33            <td>
34                <%= Html.Encode(item.Author.FullName) %>
35            </td>
36            <td>
37                <%= Html.Encode(item.Issue.Identifier)%>
38            </td>
39            <td>
40                <%= Html.Encode(item.ItemType.Name) %>
41            </td>
42            <td>
43                <%= Html.Encode(item.Caption) %>
44            </td>
45            <td>
46                <%= Html.Encode(item.Description) %>
47            </td>
48            <td>
49                <%= Html.Encode(String.Format("{0:F}", item.Price)) %>
50            </td>
51            <td>
52                <%= Html.Encode(String.Format("{0:F}", item.Bonus)) %>
53            </td>
54            <td>
55                <%= Html.Encode(item.CreatedByUser.Login) %>
56            </td>
57            <td>
58                <%= Html.Encode(item.UpdatedOn) %>
59            </td>
60        </tr>
61   
62    <% } %>
63
64    </table>
65    <p>
66        <%= Html.ActionLink("Powrót", "Index", "Report") %>
67    </p>
68
69</asp:Content>
70
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.