提案 #1159 » aboutuser.patch
| core/plugin/user_detail_view/user_detail_view.rb | ||
|---|---|---|
|
screen_name: u[:idname],
|
||
|
name: u[:name] }).gsub(/_/, '__')
|
||
|
else
|
||
|
_("ユーザについて") end },
|
||
|
title = opt.messages.first.user.title
|
||
|
if title.size > 33
|
||
|
title = title.slice(0, 30) + "..."
|
||
|
end
|
||
|
(_("%{title}について") % { title: title }).gsub(/_/, '__') end },
|
||
|
condition: Plugin::Command::CanReplyAll,
|
||
|
visible: true,
|
||
|
icon: lambda{ |opt| opt && opt.messages.first.user.icon },
|
||