Example #1
0
    def context(self):
        list = lists.ListConfigurationResponse(self._list_config, idx=9)

        return {
            'name': 'participants',
            'title': 'MENTORS AND ADMINS FOR ORGANIZATIONS I AM AN ADMIN FOR',
            'lists': [list],
        }
Example #2
0
  def context(self):
    description = 'List of organizations accepted into %s' % (
            self.data.program.name)

    list = lists.ListConfigurationResponse(self._list_config, 0, description)

    return {
        'lists': [list],
    }
Example #3
0
  def context(self):
    list = lists.ListConfigurationResponse(
        self._list_config, idx=0,
        description='List of projects accepted into %s' % (
            self.data.organization.name))

    return {
        'lists': [list],
        }
Example #4
0
    def context(self):
        """Returns the context of this component.
    """
        list = lists.ListConfigurationResponse(
            self._list_config, idx=5, description='List of projects I mentor')

        return {
            'name': 'mentoring_projects',
            'title': 'PROJECTS I AM A MENTOR FOR',
            'lists': [list],
        }
Example #5
0
    def context(self):
        """Returns the context of this component.
    """
        list = lists.ListConfigurationResponse(
            self._list_config, idx=3, description='List of my evaluations')

        return {
            'name': 'evaluations',
            'title': 'EVALUATIONS',
            'lists': [list],
        }
Example #6
0
 def context(self):
     """Returns the context of this component.
 """
     list = lists.ListConfigurationResponse(
         self._list_config,
         idx=4,
         description=SubmittedProposalsComponent.DESCRIPTION)
     return {
         'name': 'proposals_submitted',
         'title': 'PROPOSALS SUBMITTED TO ORGS I AM MENTOR/ADMIN FOR',
         'lists': [list],
     }
Example #7
0
 def context(self):
     """Returns the context of this component.
 """
     list = lists.ListConfigurationResponse(
         self._list_config,
         idx=2,
         description='List of my student projects')
     return {
         'name': 'projects',
         'title': 'PROJECTS',
         'lists': [list],
     }
Example #8
0
 def context(self):
     """Returns the context of this component.
 """
     list = lists.ListConfigurationResponse(
         self._list_config,
         idx=1,
         description=MyProposalsComponent.DESCRIPTION)
     return {
         'name': 'proposals',
         'title': 'PROPOSALS',
         'lists': [list],
     }
Example #9
0
    def context(self):
        """Returns the context of this component.
    """
        list = lists.ListConfigurationResponse(
            self._list_config,
            idx=6,
            description='Organizations I am an admin for')

        return {
            'name': 'adminning_organizations',
            'title': 'ORGANIZATIONS THAT I AM AN ADMIN/MENTOR FOR',
            'lists': [list],
        }
Example #10
0
    def context(self):
        """Returns the context of this component.
    """
        list = lists.ListConfigurationResponse(
            self._list_config,
            idx=0,
            description='List of your Organization Applications')

        return {
            'name': 'org_applications',
            'title': 'MY ORGANIZATION APPLICATIONS',
            'lists': [list],
        }
Example #11
0
    def context(self):
        """Returns the context of this component.
    """
        list = lists.ListConfigurationResponse(self._list_config, idx=self.idx)

        if self.for_admin:
            title = 'REQUESTS FOR PROJECTS I AM AN ADMIN FOR'
        else:
            title = 'MY REQUESTS'

        return {
            'name': 'requests',
            'title': title,
            'lists': [list],
        }