Sha256: fe1bcb7c9cc3437631bc05a549ff89b1f2fef483d549f74b633a52439d6b7f7f
Contents?: true
Size: 1.45 KB
Versions: 6
Compression:
Stored size: 1.45 KB
Contents
<div class="post"> <h2><%= @author.name %></h2> <ul> <%= display_profile_item @author.url, @author.show_url, _("Web site:") %> <%= display_profile_item @author.msn, @author.show_msn, _("MSN:") %> <%= display_profile_item @author.yahoo, @author.show_yahoo, _("Yahoo:") %> <%= display_profile_item @author.jabber, @author.show_jabber, _("Jabber:") %> <%= display_profile_item @author.aim, @author.show_aim, _("AIM:") %> <%= display_profile_item @author.twitter, @author.show_twitter, _("Twitter:") %> </ul> <h3><%= _("About %s", @author.name)%></h3> <%= @author.description%> </div> <% if @author.articles.to_a.empty? -%> <div class="post"> <p><%= _("This author has not published any article yet")%>...</p> </div> <% else currentmonth = 0 currentyear = 0 for article in @author.articles if (article.published_at.month != currentmonth || article.published_at.year != currentyear) currentmonth = article.published_at.month currentyear = article.published_at.year -%> <h3 class="archivemonth"><%= _(Date::MONTHNAMES[article.published_at.month]) %> <%= article.published_at.year %></h3> <% end -%> <div class="archivepost"> <%= article.published_at.mday %> - <%= link_to_permalink(article,h(article.title)) %> <% if !article.categories.empty? %> <%= _("posted in") %> <%= article.categories.collect {|c| link_to_permalink c,c.name }.join(", ") -%> <% end -%> </div> <% end end -%>
Version data entries
6 entries across 6 versions & 1 rubygems