Sha256: d12778b5ad8346c19153a286f91a1a99fd710172dcdb1018e9b74990a3b8f4b1
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
Ext.define('<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>Detail', { extend : 'Base.abstract.entity.DetailMainView', requires : [ '<%= @bundle %>.view.<%= singular_name %>.<%= class_name %>Form' ], xtype : '<%= @bundle.downcase %>_<%= singular_name %>_detail', title : T('title.<%= singular_name %>'), items : [ { xtype : '<%= @bundle.downcase %>_<%= singular_name %>_form' } ], setRecord : function(record) { this.record = record; HF.setTitle(T('title.<%= singular_name %>') + ' ' + this.record.get('name')); this.down('form').loadRecord(this.record); }, getRecord : function() { return this.record; } });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hatio-core-0.0.6 | lib/generators/hatio/resource_view/templates/detail/DetailMain.js |