<p>In app/views/diary_entry/list.html.erb:</p>
<pre style='color:#555'>> + <h2><%= h(@title) %></h2>
> +
> + <ul class='secondary-actions clearfix'>
> + <% unless params[:friends] or params[:nearby] -%>
> + <li><%= rss_link_to :action => 'rss', :language => params[:language] %></li>
> + <% end -%>
> +
> + <% if @this_user %>
> + <%= if_user(@this_user) do %>
> + <li><%= link_to image_tag("new.png", :class => "small_icon", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new'}, {:title => t('diary_entry.list.new_title')} %></li>
> + <% end %>
> + <% else %>
> + <%= if_logged_in do %>
> + <li><%= link_to image_tag("new.png", :class => "small_icon", :border=>0) + t('diary_entry.list.new'), {:controller => 'diary_entry', :action => 'new'}, {:title => t('diary_entry.list.new_title')} %></li>
> + <% end %>
> + </ul>
> <% end %>
</pre>
<p>This <code>end</code> is mismatched and is, I think, what is causing the header block not to display on the diary list view.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
—<br>
Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/150/files#r2560259'>view it on GitHub</a>.
</p>
<img src='https://github.com/notifications/beacon/Jshd8sI44GVrKZBvymxqKJq93CYNVBBdqrknFFP5ZEX4hHjJrsiHRGKHf7AELd8v.gif' height='1' width='1'>