Package Products :: Package ZenWidgets :: Package browser :: Module Portlets :: Class UserMessagesPortletView |
[hide private]
[frames] | no frames]

# Class UserMessagesPortletView

source code

    Five.browser.BrowserView --+
                               |
                              UserMessagesPortletView

User messages in YUI table form, for the dashboard portlet.

Instance Methods | [hide private]
__call__(self) Get heartbeat issues in a form suitable for a portlet on the dashboard. | source code

Method Details | [hide private]

### __call__(self) (Call operator) | source code
    Get heartbeat issues in a form suitable for a portlet on the dashboard.

    @return: A JSON representation of a dictionary describing heartbeats
    @rtype: "{
        'columns':['Host', 'Daemon Process', 'Seconds Down'],
        'data':[
            {'Device':'<a href=/>', 'Daemon':'zenhub', 'Seconds':10}
        ]}"
Decorators: `@nocache` `@json`