Skip to content
Browse files

Use byline instead of name

  • Loading branch information...
1 parent 108120d commit bb5c05e3cf26d84dcf6e16c4984ff2c74a9928cf @sarken committed Apr 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/works/index.html.erb
View
2 app/views/works/index.html.erb
@@ -4,7 +4,7 @@
<% if @collection %>
<%= ts("in %{collection_title}", :collection_title => link_to(@collection.title, @collection)).html_safe %>
<% elsif @user %>
- <%= @author ? ts("by %{author_name}", :author_name => @author.name) : ts("by %{user_name}", :user_name => @user.login) %>
+ <%= @author ? ts("by %{author_byline}", :author_byline => @author.byline) : ts("by %{user_name}", :user_name => @user.login) %>
<% elsif @tag %>
<%= ts("in %{tag_name}", :tag_name => @tag.name) %>
<% end %>

0 comments on commit bb5c05e

Please sign in to comment.
Something went wrong with that request. Please try again.