Skip to content

Commit

Permalink
Lock user fullname change.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkravets committed Jul 22, 2015
1 parent fe8f8eb commit 781fb4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/assets/javascripts/chr/admins.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ Ants.adminsConfig = ->
label: """Name <small>— to update or add avatar, please register on
<a href='http://gravatar.com' target='_blank'>Gravatar</a>
using same email address</small>"""
placeholder: 'Users full name'
placeholder: 'Full name'
onInitialize: (input) ->
if input.object
input.$el.removeClass 'input-required'
input.config.disabled = true
input._add_disabled()

email:
type: 'string'
Expand Down
2 changes: 1 addition & 1 deletion lib/ants/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ants
VERSION = "0.1.6"
VERSION = "0.1.7"
end

0 comments on commit 781fb4a

Please sign in to comment.