fixes #1349
This commit is contained in:
@@ -456,7 +456,11 @@ class Post < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def artist_tags
|
||||
typed_tags("artist") - %w(banned_artist)
|
||||
typed_tags("artist")
|
||||
end
|
||||
|
||||
def artist_tags_excluding_hidden
|
||||
artist_tags - %(banned_artist)
|
||||
end
|
||||
|
||||
def general_tags
|
||||
|
||||
@@ -59,9 +59,9 @@ class PostPresenter < Presenter
|
||||
string << (@post.character_tags.any? ? "(#{copytags})" : copytags)
|
||||
end
|
||||
|
||||
if @post.artist_tags.any?
|
||||
if @post.artist_tags_excluding_hidden.any?
|
||||
string << "drawn by"
|
||||
string << @post.artist_tags.to_sentence
|
||||
string << @post.artist_tags_excluding_hidden.to_sentence
|
||||
end
|
||||
|
||||
string.empty? ? "##{@post.id}" : string.join(" ").tr("_", " ")
|
||||
|
||||
Reference in New Issue
Block a user