[openstreetmap-website] Site cleanup (#150)
Tom Hughes
notifications at github.com
Sun Jan 6 17:04:50 GMT 2013
> + <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 %>
This `end` is mismatched and is, I think, what is causing the header block not to display on the diary list view.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/150/files#r2560259
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130106/2fd8e0b5/attachment.html>
More information about the rails-dev
mailing list