Skip to content

Commit

Permalink
Use byline instead of name
Browse files Browse the repository at this point in the history
  • Loading branch information
sarken committed Apr 15, 2012
1 parent 108120d commit bb5c05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/works/index.html.erb
Expand Up @@ -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 %>
Expand Down

0 comments on commit bb5c05e

Please sign in to comment.