modqueue: move quality warning tags into config file.
This commit is contained in:
@@ -113,6 +113,14 @@ module ApplicationHelper
|
||||
link_to ip, moderator_ip_addrs_path(:search => {:ip_addr => ip})
|
||||
end
|
||||
|
||||
def link_to_wiki(*wiki_titles, **options)
|
||||
links = wiki_titles.map do |title|
|
||||
link_to title.tr("_", " "), wiki_pages_path(title: title)
|
||||
end
|
||||
|
||||
to_sentence(links, **options)
|
||||
end
|
||||
|
||||
def link_to_user(user, options = {})
|
||||
user_class = user.level_class
|
||||
user_class = user_class + " user-post-approver" if user.can_approve_posts?
|
||||
|
||||
Reference in New Issue
Block a user