mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
NEW Add translation support for blog post authors profile summary heading
This commit is contained in:
parent
86c0f56620
commit
9d26cff23d
@ -5,7 +5,7 @@
|
|||||||
<% include SilverStripe\\Blog\\MemberDetails %>
|
<% include SilverStripe\\Blog\\MemberDetails %>
|
||||||
|
|
||||||
<% if $PaginatedList.Exists %>
|
<% if $PaginatedList.Exists %>
|
||||||
<h2>Posts by $CurrentProfile.FirstName $CurrentProfile.Surname for $Title:</h2>
|
<h2><%t SilverStripe\\Blog\\Model\\Blog.PostsByUser 'Posts by {firstname} {surname} for {title}' firstname=$CurrentProfile.FirstName surname=$CurrentProfile.Surname title=$Title %></h2>
|
||||||
<% loop $PaginatedList %>
|
<% loop $PaginatedList %>
|
||||||
<% include SilverStripe\\Blog\\PostSummary %>
|
<% include SilverStripe\\Blog\\PostSummary %>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
|
Loading…
Reference in New Issue
Block a user