X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fauthors%2Findex.html.erb;h=71c948269ab202cc8010164df7a5cd74741ea897;hb=26f1bb0f8cf40ebd82495945236f83542dfe21ed;hp=5691bbbfc3972a2f1d1832bd416cb1aaf57b432d;hpb=a08b172466e35093a7d60a388eeda1488d5944e0;p=pettanr%2Fpettanr.git diff --git a/app/views/authors/index.html.erb b/app/views/authors/index.html.erb index 5691bbbf..71c94826 100644 --- a/app/views/authors/index.html.erb +++ b/app/views/authors/index.html.erb @@ -1,13 +1,18 @@ -
Ext | +<%= t_m 'Author.name' -%> | +<%= t_m 'Author.created_at' -%> | +<%= t_m 'Author.updated_at' -%> |
---|---|---|---|
<%= link_to h(author.name), :action => :show, :id => author.id %> | -|||
<%= link_to h(truncate(author.name, :length => 12)), author_path(author) %> | +<%= distance_of_time_in_words_to_now author.created_at %> | +<%= distance_of_time_in_words_to_now author.updated_at %> | +