Mise en forme du message de contact au préstataire

* Sent.aspx: Vue de confirmation du messag envoyé

* PerformerContact.cs: modèle de donnnée d'un message

* Global.asax.cs: ajout d'une route /to/

* style.css: rien

* style.css: forme du pointeur de liens

* FrontOfficeController.cs: implémente l'envoi d'un e-mail au
  préstataire

* YavscHelpers.cs:
* HomeController.cs: l'e-mail admin est obtenu du helper global

* App.master: Corrige les guillemets autour de notifications web

* yavsc.js: la class des liens est "link", pas "actionlink"

* Contact.aspx: mise en forme du formulaire de contact

* Performer.ascx: lien vers le contact préstataire

* Yavsc.csproj: ajout de la vue du message envoyé

* LocalizedText.resx:
* LocalizedText.fr.resx:
* LocalizedText.Designer.cs:
* LocalizedText.fr.Designer.cs: traductions

* YavscModel.csproj: ajout du modèle de données d'un message
This commit is contained in:
Paul Schneider 2015-12-30 17:19:23 +01:00
commit 3b33be013c
20 changed files with 283 additions and 91 deletions

View file

@ -0,0 +1,38 @@
//
// PerformerContact.cs
//
// Author:
// Paul Schneider <paul@pschneider.fr>
//
// Copyright (c) 2015 GNU GPL
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
using System.ComponentModel.DataAnnotations;
namespace Yavsc.Model.FrontOffice
{
public class PerformerContact
{
[Required]
public string Performer { get; set; }
[Required]
public string Reason { get; set; }
[Required]
public string Body { get; set; }
}
}