Fichiers manquant au dernier commit

This commit is contained in:
2015-11-30 19:03:05 +01:00
parent e8bf2dd8fa
commit d8965ed526
17 changed files with 1412 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<%@ Page Language="C#" Title="Performers" MasterPageFile="~/Models/App.master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<PerformerAvailability>>" %>
<asp:Content ID="MainContentContent" ContentPlaceHolderID="MainContent" runat="server">
<% foreach (var available in Model) { %>
<div class="usercard">
<%= Html.Partial("Performer", available.Profile ) %><br>
<% if (available.DateAvailable) {
%>
<%= Html.Translate("ThisPerformerGivesAccessToHisCalendarAndSeemsToBeAvailable") %>
<%
}
else if (available.Profile.HasCalendar()) {
%>
<%= Html.Translate("ThisPerformerGivesAccessToHisCalendarAndItAppearsHeShouldNotBeAvailable") %>
<%
} else {
%>
<%= Html.Translate("ThisPerformerDoesntGiveAccessToHisCalendar") %>
<%
} %></div><% } %>
</asp:Content>

View File

@ -0,0 +1,9 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Activity>" %>
<div>
<div data-type="background" data-speed="10" style="width:100%; height:10em; background: url(<%=Ajax.JString(Model.Photo)%>) 50% 50% repeat fixed;" >
</div>
<h1><a href="<%= Url.RouteUrl("FrontOffice", new { action="Booking", MEACode=Model.Id }) %>">
<%=Html.Encode(Model.Title)%></a></h1>
<p>
<%=Html.Markdown(Model.Comment)%>
</p></div>