Skip to content

Commit

Permalink
Merge pull request #576 from sarken/issue_2133
Browse files Browse the repository at this point in the history
Fix issue 2133 with pseud works index displaying user instead of pseud
  • Loading branch information
elzj committed Apr 14, 2012
2 parents fd0baf8 + 108120d commit 20e1f75
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 %>
<%= ts("by %{user_name}", :user_name => @user.login) %>
<%= @author ? ts("by %{author_name}", :author_name => @author.name) : 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 20e1f75

Please sign in to comment.