{:uriI"file://app/assets/javascripts/views/admin/users/show.coffee?type=application/javascript&pipeline=self&id=040ee11b32e34e392038ebe692f0d095e00b67fca781d003f1479d34b462b724:ET:load_pathI"app/assets/javascripts;T: filenameI"9app/assets/javascripts/views/admin/users/show.coffee;T: nameI"views/admin/users/show;T:logical_pathI"#views/admin/users/show.self.js;T:content_typeI"application/javascript;T: sourceI"i(function() { var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; App.Views.Admin.Users.Show = (function(superClass) { extend(Show, superClass); function Show(opts) { if (opts == null) { opts = {}; } Show.__super__.constructor.call(this, opts); this.user = null; } Show.prototype.render = function(user) { this.user = user; $("#user_email").text(this.user.email); $("#user_username").text(this.user.username); $("#user_confirmed").text(this.user.confirmed ? "Yes" : "No"); return this._updateEditLink(); }; Show.prototype._updateEditLink = function() { var href; href = $("#edit_link").attr("href"); return $("#edit_link").attr("href", href.replace("/0/", "/" + this.user.id + "/")); }; return Show; })(App.Views.Base); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"Gfile-digest://app/assets/javascripts/views/admin/users/show.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%Ν|R o-UxM|: lengthii:dependencies_digest"%tOT5xEfEf}:idI"E040ee11b32e34e392038ebe692f0d095e00b67fca781d003f1479d34b462b724;F: mtimel+4V