silverstripe-blog/templates/SilverStripe/Blog/Model/Layout/Blog_profile.ss

24 lines
713 B
Scheme
Raw Permalink Normal View History

<% require css('silverstripe/blog: client/dist/styles/main.css') %>
2015-03-22 23:18:02 +01:00
<div class="blog-entry content-container <% if $SideBarView %>unit size3of4<% end_if %>">
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\MemberDetails %>
2015-03-22 23:18:02 +01:00
2015-11-12 00:20:11 +01:00
<% if $PaginatedList.Exists %>
<h2><%t SilverStripe\\Blog\\Model\\Blog.PostsByUser 'Posts by {firstname} {surname} for {title}' firstname=$CurrentProfile.FirstName surname=$CurrentProfile.Surname title=$Title %></h2>
2015-11-12 00:20:11 +01:00
<% loop $PaginatedList %>
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\PostSummary %>
2015-11-12 00:20:11 +01:00
<% end_loop %>
<% end_if %>
2015-03-22 23:18:02 +01:00
2015-11-12 00:20:11 +01:00
$Form
$CommentsForm
<% with $PaginatedList %>
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\Pagination %>
2015-11-12 00:20:11 +01:00
<% end_with %>
2015-03-22 23:18:02 +01:00
</div>
2017-09-20 23:10:21 +02:00
<% include SilverStripe\\Blog\\BlogSideBar %>