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