app/assets/javascripts/backbone/templates/contacts/me.hamlc
d4872cda
 .user
   .avatar.bigger{ title: "#{@jid}" }
c4a1e746
     %img{ src: "#{@avatar || 'assets/avatar.png'}", alt: I18n.t('chat.roster.avatar_alt') }
6fb9497e
     %input.hidden{ type: 'file', name: 'avatar', accept: 'image/png,image/jpeg,image/pjpeg,image/gif,image/webp'}
6621353c
     .change-avatar.hidden
       .background
       %p change
6347ea28
   %h1
     %input{ type: 'text', title: "#{@jid}", class: 'js-edit-name', value: "#{@name}"}
9d063577
   %h2{style: 'margin-top: -5px'} #{@message || '<input type="text" class="js-edit-status empty" value="'+I18n.t('chat.roster.change_status_msg')+'">' }
d4872cda
   %h3
c4a1e746
     .rolldown.js-change-state
6621353c
       .js-state-clickable{ 'data-state' => 'online' }
c4a1e746
         %span.status.icon-record.online
         %a.active{ href: '#' }
           Online
9d063577
           %span.icon-arrow-down.drop-down
6621353c
       .hidden.js-state-clickable{ 'data-state' => 'away' }
c4a1e746
         %span.status.icon-record.away
         %a{ href: '#' }
           Away
9d063577
           %span.icon-arrow-down.drop-down
6621353c
       .hidden.js-state-clickable{ 'data-state' => 'dnd' }
c4a1e746
         %span.status.icon-record.dnd
         %a{ href: '#' }
           DND
9d063577
           %span.icon-arrow-down.drop-down