* 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:
@ -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>
|
Reference in New Issue
Block a user