Project

General

Profile

提案 #1159 » aboutuser.patch

cob odo, 2018-09-02 02:03

View differences:

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 },
    (1-1/1)