<%def name="show_license(license_data)"> % if isinstance(license_data, dict): ${license_data.get('spdxId') or license_data.get('fullName')} % else: ${license_data} % endif

${_('Licenses of Third Party Packages')}

RhodeCode Enterprise uses various third party packages, many of them provided by the open source community.

% if c.opensource_licenses: % for lib in c.opensource_licenses: % endfor
Product License
${lib["name"]}
    % if isinstance(lib["license"], list): % for license_data in lib["license"]:
  1. ${show_license(license_data)}
  2. % endfor % else: <% license_data = lib["license"] %>
  3. ${show_license(license_data)}
  4. % endif
% endif