예제 #1
0
def org_contractor_misconduct_section(entity_id, name, cycle, external_ids):
    section = {
        'name': 'Contractor Misconduct',
        'template': 'org_contractor_misconduct.html',
    }
    
    section['contractor_misconduct'] = api.org.contractor_misconduct(entity_id, cycle)
    section['pogo_links'] = external_sites.get_pogo_links(external_ids, name, cycle)
    
    return section
예제 #2
0
 def build_section_data(self):
     self.pogo_links = external_sites.get_pogo_links(self.entity.external_ids, self.entity.standardized_name, self.entity.cycle)
예제 #3
0
 def build_section_data(self):
     self.pogo_links = external_sites.get_pogo_links(
         self.entity.external_ids, self.entity.standardized_name,
         self.entity.cycle)