view Agendas/trunk/src/Agendas.Web/Views/Patrocinador/Index.cshtml @ 300:48ab8788bd19

#200: Patrocinadores: Agregar link al sitio web.
author juanjose.montesdeocaarbos
date Mon, 27 Feb 2012 14:45:12 -0300
parents 50b462e06ecc
children
line wrap: on
line source

@model AltNetHispano.Agendas.Web.Models.PatrocinadorIndexModel
<h2>Agenda</h2>
<p>
    Los Patrocinadores son:
</p>
<div id="content">
    <table>
		<thead>
			<tr>
                <th></th>
				<th>Patrocinador</th>
				<th>Acciones</th>
			</tr>
		</thead>
		<tbody>
        @foreach (var item in Model.Items)
        { 
            <tr>
                <td><img src="@Url.Action("GetLogo", new { id = item.Id })" /></td>
                <td><a href="@item.WebSite" target="_blank">@item.Nombre</a></td>
                <td class="buttons">
                    @Html.ActionLink("Modificar", "Modificar", new { id = item.Id })
					<span>&nbsp;</span>
					@Html.ActionLink("Eliminar", "Eliminar", new { id = item.Id }, new { @class = "ui-button-confirm" })
					<span>&nbsp;</span>
                </td>
            </tr>
        }
        </tbody>
    </table>
</div>
<div class="buttons">
	@Html.ActionLink("Nuevo", "Nuevo")
</div>