]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/oreilly/app/view/session/Info.js
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / oreilly / app / view / session / Info.js
1 Ext.define('Oreilly.view.session.Info', {
2
3 extend: 'Ext.Container',
4 xtype: 'sessionInfo',
5
6 config: {
7
8 cls: 'sessionInfo',
9
10 tpl: Ext.create('Ext.XTemplate',
11 '<h3>{title} <small>{room}</small></h3>',
12 '<h4>{proposal_type} at {[this.formatTime(values.time)]}</h4>',
13 '<p>{description}</p>',
14 {
15 formatTime: function(time) {
16 return ''; //Ext.Date.format(time, 'g:ia, m/d/Y')
17 }
18 }
19 )
20 }
21 });