Example #1
0
    def tooltips(self):
        return [

            {'selector': u'a.dashboardButton.buttonClose',
             'text': _(u'text_dashboard_close',
                       default=u'Toggle portlet'),
             'condition': 'body.template-dashboard'},

            {'selector': u'span.dashboardButton.buttonMove',
             'text': _(u'text_dashboard_move',
                       default=u'Move portlet'),
             'condition': 'body.template-dashboard'},

            {'selector': u'a.dashboardButton.buttonRemove',
             'text': _(u'text_dashboard_remove',
                       default=u'Delete portlet'),
             'condition': 'body.template-dashboard'},

            {'selector': u'a.dashboardButton.buttonEdit',
             'text': _(u'text_dashboard_edit',
                       default=u'Edit portlet'),
             'condition': 'body.template-dashboard'},

            ]
Example #2
0
    def tooltips(self):
        return [

            {'selector': u'a.rollover',
             'text': u'',  # Use title attribute
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-overview',
             'text': _(u'text_tab_overview',
                       default=u'Overview of folders and recent changes.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-documents',
             'text': _(u'text_tab_documents',
                       default=u'List all documents in this workspace.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-events',
             'text': _(u'text_tab_events',
                       default=u'Manage events and meetings.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-contacts',
             'text': _(u'text_tab_contacts',
                       default=u'List of contacts, which are related to this '
                       u'workspace but do not have access.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-tasks',
             'text': _(u'text_tab_tasks',
                       default=u'List and manage tasks.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-sharing',
             'text': _(u'text_tab_sharing',
                       default=u'Manage members of this workspace.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-participants',
             'text': _(u'text_tab_participants',
                       default=u'List of all members with '
                       u'access to this workspace.'),
             'condition': 'body.template-tabbed_view'},

            {'selector': u'.tabbedview-tabs a#tab-workspaces',
             'text': _(u'text_tab_workspaces',
                       default=u'Lists all workspaces you have access to.'),
             'condition': 'body.template-workspaces_view'},

            {'selector': u'.tabbedview-tabs a#tab-documents',
             'text': _(u'text_tab_workspaces_documents',
                       default=u'Lists all documents of all workspaces you'
                       u' have access to.'),
             'condition': 'body.template-workspaces_view'},

            {'selector': u'.tabbedview-tabs a#tab-events',
             'text': _(u'text_tab_workspaces_events',
                       default=u'Lists all events of all workspaces you'
                       u' have access to.'),
             'condition': 'body.template-workspaces_view'},

            ]