forked from Echo3ToEcho7/app-catalog
-
Notifications
You must be signed in to change notification settings - Fork 192
/
Copy pathBlockedWorkApp.js
38 lines (34 loc) · 1.06 KB
/
BlockedWorkApp.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(function() {
var Ext = window.Ext4 || window.Ext;
/**
* Blocked Work App
* View most recently blocked work
*/
Ext.define('Rally.apps.blockedwork.BlockedWorkApp', {
extend: 'Rally.app.App',
requires: [
'Rally.apps.blockedwork.BlockedWorkView'
],
alias: 'widget.blockedworkapp',
layout: 'auto',
appName: 'Blocked Work',
cls: 'blocked-work-app',
launch: function() {
this.add({
xtype: 'rallyblockedworkview',
emptyText: '<div class="no-data">' +
' <p>There are no blocked work products.</p>' +
'</div>',
storeConfig: {
context: this.getContext().getDataContext()
},
listeners: {
refresh: function(){
this.fireEvent('contentupdated', {dashboardLayout: false});
},
scope: this
}
});
}
});
})();