Ext.define('devilry_student.view.dashboard.Overview' ,{
    extend: 'Ext.panel.Panel',
    alias: 'widget.dashboard',
    cls: 'devilry_student_dashboard',

    frame: false,
    border: 0,
    bodyPadding: 20,
    autoScroll: true,
    layout: 'column',

    items: [{
        xtype: 'container',
        columnWidth: 0.65,
        items: [{
            xtype: 'container',
            itemId: 'notExpired',
            items: [{
                xtype: 'box',
                cls: 'bootstrap',
                tpl: [
                    '<h2>{heading} <small>- {heading_suffix}</small></h2>'
                ],
                data: {
                    heading: gettext('Assignments'),
                    heading_suffix: interpolate(gettext('click one to add a %(delivery_term)s'), {
                        delivery_term: gettext('delivery')
                    }, true)
                }
            }, {
                xtype: 'opengroups_deadline_not_expired_grid'
            }]
        }, {
            xtype: 'container',
            itemId: 'expired',
            margin: '30 0 0 0',
            items: [{
                xtype: 'box',
                cls: 'bootstrap',
                tpl: [
                    '<h3>{heading}</h3>',
                    '<p><small>{subheading}</small></p>'
                ],
                data: {
                    heading: interpolate(gettext('%(assignments_term)s with expired %(deadlines_term)s'), {
                        assignments_term: gettext('Assignments'),
                        deadlines_term: gettext('deadlines')
                    }, true),
                    subheading: interpolate(gettext('These %(assignments_term)s use soft deadlines, so you are allowed to add %(deliveries_term)s even if the deadline has expired. You normally need a valid reason to add %(deliveries_term)s after a %(deadline_term)s has expired, and your %(examiner_term)s will clearly see any deliveries made after the deadline.'), {
                        assignments_term: gettext('assignments'),
                        deadlines_term: gettext('deadlines'),
                        deadline_term: gettext('deadline'),
                        deliveries_term: gettext('deliveries'),
                        examiner_term: gettext('examiner')
                    }, true),
                }
            }, {
                xtype: 'opengroups_deadline_expired_grid'
            }]
        }]
    }, {
        xtype: 'container',
        layout: 'anchor',
        padding: '0 0 0 40',
        columnWidth: 0.35,
        items: [{
            xtype: 'dashboard_searchfield',
            anchor: '100%'
        }, {
            xtype: 'container',
            itemId: 'recentDeliveries',
            margin: '20 0 0 0',
            anchor: '100%',
            items: [{
                xtype: 'box',
                cls: 'bootstrap',
                tpl: [
                    '<h4>{heading}</h4>'
                ],
                data: {
                    heading: interpolate(gettext('Recent %(deliveries_term)s'), {
                        deliveries_term: gettext('deliveries')
                    }, true)
                }
            }, {
                xtype: 'recentdeliveriesgrid'
            }]
        }, {
            xtype: 'container',
            margin: '20 0 0 0',
            itemId: 'recentFeedbacks',
            anchor: '100%',
            items: [{
                xtype: 'box',
                cls: 'bootstrap',
                tpl: [
                    '<h4>{heading}</h4>'
                ],
                data: {
                    heading: interpolate(gettext('Recent %(feedbacks_term)s'), {
                        feedbacks_term: gettext('feedbacks')
                    }, true)
                }
            }, {
                xtype: 'recentfeedbacksgrid'
            }]
        }]
    }]
});

@@ -512,35 +512,13 @@
 tpl:
- %5B%0A                   
  '%3Ch
-2
+1
 %3E%7Bhe
@@ -564,29 +564,11 @@
 %3E%3C/h
-2
+1
 %3E'
-%0A                %5D
 ,%0A  
@@ -856,32 +856,32 @@
            %7D, %7B%0A
-
                 
@@ -918,32 +918,528 @@
 t_expired_grid'%0A
+            %7D, %7B%0A                xtype: 'box',%0A                cls: 'bootstrap',%0A                margin: '10 0 0 0',%0A                tpl: '%3Ca href=%22#/browse/%22%3E%7Btext%7D%3C/a%3E',%0A                data: %7B%0A                    text: interpolate(gettext('Browse all your %25(assignments_term)s, including old %25(deliveries_term)s'), %7B%0A                        assignments_term: gettext('assignments'),%0A                        deliveries_term: gettext('deliveries')%0A                    %7D, true)%0A                %7D%0A
             %7D%5D%0A 

Include browse all link.