Fixes missing assets
* UserPost.aspx: Fixes the anonymous access ! * drummer-652345_1280.jpg: * musician-923526_1280.jpg: * an-pierle-876094_1280.jpg: * drummer-652345_1280.s.jpg: * helix-nebula-1400x1400.jpg: * musician-923526_1280.s.jpg: * live-concert-388160_1280.jpg: * helix-nebula-1400x1400.s.jpg: * live-concert-388160_1280.s.jpg: initial import
@ -1,3 +1,17 @@
|
||||
2015-10-01 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* UserPost.aspx: Fixes the anonymous access !
|
||||
|
||||
* drummer-652345_1280.jpg:
|
||||
* musician-923526_1280.jpg:
|
||||
* an-pierle-876094_1280.jpg:
|
||||
* drummer-652345_1280.s.jpg:
|
||||
* helix-nebula-1400x1400.jpg:
|
||||
* musician-923526_1280.s.jpg:
|
||||
* live-concert-388160_1280.jpg:
|
||||
* helix-nebula-1400x1400.s.jpg:
|
||||
* live-concert-388160_1280.s.jpg: initial import
|
||||
|
||||
2015-09-30 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* style.css: Makes a better style
|
||||
|
@ -20,11 +20,11 @@
|
||||
<div class="post">
|
||||
<%= Html.Markdown(be.Content,"/bfiles/"+be.Id+"/") %>
|
||||
|
||||
<% string username = Membership.GetUser().UserName; %>
|
||||
<% string username = Membership.GetUser()==null ? null : Membership.GetUser().UserName; %>
|
||||
<% foreach (var c in (Comment[]) BlogManager.GetComments(be.Id)) { %>
|
||||
<div class="comment" style="min-height:32px;"> <img style="clear:left;float:left;max-width:32px;max-height:32px;margin:.3em;" src="<%= Url.Content("~/Account/Avatar/"+c.From) %>" alt="<%=c.From%>"/>
|
||||
<%= Html.Markdown(c.CommentText) %>
|
||||
<% if ( username == Model.Author || c.From == username ) { %>
|
||||
<% if (Model.Author == username || c.From == username ) { %>
|
||||
<%= Html.ActionLink("Supprimer","RemoveComment", new { cmtid = c.Id } , new { @class="actionlink" })%>
|
||||
<% } %>
|
||||
</div><% } %>
|
||||
|
BIN
web/images/an-pierle-876094_1280.jpg
Normal file
After Width: | Height: | Size: 262 KiB |
BIN
web/images/drummer-652345_1280.jpg
Normal file
After Width: | Height: | Size: 276 KiB |
BIN
web/images/drummer-652345_1280.s.jpg
Normal file
After Width: | Height: | Size: 110 KiB |
BIN
web/images/helix-nebula-1400x1400.jpg
Normal file
After Width: | Height: | Size: 87 KiB |
BIN
web/images/helix-nebula-1400x1400.s.jpg
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
web/images/live-concert-388160_1280.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
web/images/live-concert-388160_1280.s.jpg
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
web/images/musician-923526_1280.jpg
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
web/images/musician-923526_1280.s.jpg
Normal file
After Width: | Height: | Size: 37 KiB |