* BlogsController.cs: sets ViewData["Avatar"]

* UserPost.aspx: magnify the header

* UserPosts.aspx: beautyfull header

* Profile.cs: A default Blog title to "<Username>'s blog"
This commit is contained in:
Paul Schneider 2015-01-27 12:14:36 +01:00
commit 495f859243
4 changed files with 27 additions and 13 deletions

View file

@ -39,9 +39,10 @@ namespace Yavsc.Model.RolesAndMembers
[DisplayName ("Blog visible")]
public bool BlogVisible { get; set; }
private string blogTitle;
[DisplayName ("Titre du blog")]
[StringLength (255)]
public string BlogTitle { get; set; }
public string BlogTitle { get { return blogTitle==null? Name+"'s blog":blogTitle; } set { blogTitle = value; } }
[DisplayName ("Téléphone fixe")]
[StringLength (15)]