[openstreetmap-website] Moderate updates to the diary functionality. (#68)
Tom Hughes
notifications at github.com
Wed Aug 15 23:03:55 BST 2012
> <%= link_to t('diary_entry.diary_entry.comment_count', :count => diary_entry.visible_comments.count), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id, :anchor => 'comments' %>
> <% end %>
> +
> <%= if_user(diary_entry.user, :span) do %>
> | <%= link_to t('diary_entry.diary_entry.edit_link'), :action => 'edit', :display_name => diary_entry.user.display_name, :id => diary_entry.id %>
The `|` here winds up isolated when viewing a single diary entry because nothing has been printed before it.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/68/files#r1387862
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120815/52becae0/attachment.html>
More information about the rails-dev
mailing list