|
Wersja 838, 2.2 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></th>
|
|---|
| 13 | <th>Miesi¹c</th>
|
|---|
| 14 | <th>Autor</th>
|
|---|
| 15 | <th>Wydanie</th>
|
|---|
| 16 | <th>Typ</th>
|
|---|
| 17 | <th>Tytu³</th>
|
|---|
| 18 | <th>Opis</th>
|
|---|
| 19 | <th>Wycena</th>
|
|---|
| 20 | <th>Bonus</th>
|
|---|
| 21 | <th>Kto utworzy³</th>
|
|---|
| 22 | <th>Ostatnia aktualizacja</th>
|
|---|
| 23 | </tr>
|
|---|
| 24 |
|
|---|
| 25 | <% foreach (var item in Model) { %>
|
|---|
| 26 |
|
|---|
| 27 | <tr>
|
|---|
| 28 | <td>
|
|---|
| 29 | <%= Html.ActionLink("Edycja", "Edit", "MagazineItem", new { id=item.Id }, null) %>
|
|---|
| 30 | </td>
|
|---|
| 31 | <td>
|
|---|
| 32 | <%= Html.ActionLink("Usuñ", "Delete", "MagazineItem", new { id=item.Id }, null) %>
|
|---|
| 33 | </td>
|
|---|
| 34 | <td>
|
|---|
| 35 | <%= Html.Encode(item.Date.ToString("yyyy-MM")) %>
|
|---|
| 36 | </td>
|
|---|
| 37 | <td>
|
|---|
| 38 | <%= Html.Encode(item.Author.FullName) %>
|
|---|
| 39 | </td>
|
|---|
| 40 | <td>
|
|---|
| 41 | <%= Html.Encode(item.Issue.Identifier)%>
|
|---|
| 42 | </td>
|
|---|
| 43 | <td>
|
|---|
| 44 | <%= Html.Encode(item.ItemType.Name) %>
|
|---|
| 45 | </td>
|
|---|
| 46 | <td>
|
|---|
| 47 | <%= Html.Encode(item.Caption) %>
|
|---|
| 48 | </td>
|
|---|
| 49 | <td>
|
|---|
| 50 | <%= Html.Encode(item.Description) %>
|
|---|
| 51 | </td>
|
|---|
| 52 | <td>
|
|---|
| 53 | <%= Html.Encode(String.Format("{0:F}", item.Price)) %>
|
|---|
| 54 | </td>
|
|---|
| 55 | <td>
|
|---|
| 56 | <%= Html.Encode(String.Format("{0:F}", item.Bonus)) %>
|
|---|
| 57 | </td>
|
|---|
| 58 | <td>
|
|---|
| 59 | <%= Html.Encode(item.CreatedByUser.Login) %>
|
|---|
| 60 | </td>
|
|---|
| 61 | <td>
|
|---|
| 62 | <%= Html.Encode(item.UpdatedOn) %>
|
|---|
| 63 | </td>
|
|---|
| 64 | </tr>
|
|---|
| 65 |
|
|---|
| 66 | <% } %>
|
|---|
| 67 |
|
|---|
| 68 | </table>
|
|---|
| 69 | <p>
|
|---|
| 70 | <%= Html.ActionLink("Powrót", "Index", "Report") %>
|
|---|
| 71 | </p>
|
|---|
| 72 |
|
|---|
| 73 | </asp:Content>
|
|---|
| 74 |
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.