* Makefile: target set clarified

* Profile.aspx:
* AccountController.cs: Fixes the avatar display at edition time.

* style.css:
* UserPost.aspx: the users avatar as the page logo, floating at left

* Web.config:
* Global.asax.cs: Uses a new application parameter named
  "DefaultController", usage defaulting to "Blogs".

* Web.csproj:
* web.config: 

* Profile.cs: Fixes a default blog title using a null user's full name
This commit is contained in:
Paul Schneider 2015-04-23 04:39:34 +02:00
commit b918d9ff03
10 changed files with 62 additions and 27 deletions

View file

@ -261,7 +261,11 @@ namespace Yavsc.Controllers
ProfileBase prf = ProfileBase .Create (model.UserName);
prf.SetPropertyValue ("BlogVisible", model.BlogVisible);
prf.SetPropertyValue ("BlogTitle", model.BlogTitle);
prf.SetPropertyValue ("avatar", model.avatar);
if (AvatarFile != null) {
prf.SetPropertyValue ("avatar", model.avatar);
} else {
model.avatar = (string) prf.GetPropertyValue ("avatar");
}
prf.SetPropertyValue ("Address", model.Address);
prf.SetPropertyValue ("CityAndState", model.CityAndState);
prf.SetPropertyValue ("Country", model.Country);