* Tests.cs:

* Web.csproj:
* T.cs:
* Global.asax.cs:
* UserPost.aspx:
* UserPosts.aspx: 

* HomeController.cs: * Request.UserLanguages may be null

* App.master: a side

* README: yavsc

* TestByteA.cs: if TEST only

* Profile.aspx: nicer

* Web.config: no need of Newtonsoft.Json

* style.css: little buttons

* T.cs: moved to helpers ...
This commit is contained in:
Paul Schneider
2014-10-07 23:15:56 +02:00
parent f3a2efa244
commit 347ffc8a5a
13 changed files with 34 additions and 46 deletions

View File

@ -39,3 +39,12 @@
</div>
</asp:Content>
<asp:Content ContentPlaceHolderID="MASContent" ID="mas1" runat="server">
<% if (Membership.GetUser()!=null)
if (Membership.GetUser().UserName==Model.UserName)
{ %>
<%= Html.ActionLink("Editer","Edit", new { user = Model.UserName, title = Model.Title }, new { @class="actionlink" }) %>
<%= Html.ActionLink("Supprimer","RemovePost", new { user = Model.UserName, title = Model.Title }, new { @class="actionlink" } ) %>
<% } %>
</asp:Content>