#1961: Restyle other names

Should be easier to tell them apart now
This commit is contained in:
Toks
2014-06-04 19:15:59 -04:00
parent 4716bd7c97
commit ff789f5b6d
2 changed files with 4 additions and 2 deletions

View File

@@ -33,6 +33,8 @@ div#c-wiki-pages, div#excerpt {
}
.other-name {
font-weight: bold;
background-color: #EEE;
padding: 3px;
border-radius: 3px;
}
}

View File

@@ -50,6 +50,6 @@ module WikiPagesHelper
def wiki_page_other_names_list(wiki_page)
names_html = wiki_page.other_names_array.map{|name| link_to(name, "http://www.pixiv.net/search.php?s_mode=s_tag_full&word=#{u(name)}", :class => "other-name")}
names_html.join(", ").html_safe
names_html.join(" ").html_safe
end
end