%if not c.license_loaded: ${_("Currently you're using a free license, which is limited to 20 users.")}

%endif
<% elems = [ (_('RhodeCode version'), c.rhodecode_version, ''), (_('License token'), h.literal('
%s
' % c.rhodecode_ini.get('license_token', _('No license token'))), ''), ] if c.license_info: elems.append((_('License issued to'), '%s %s (%s)' % (c.license_info.get('first_name'),c.license_info.get('last_name'),c.license_info.get('company')), '')) elems.append((_('License issued on'), h.fmt_date(h.time_to_datetime(c.license_info.get('issue_date'))), '')) elems.append((_('License users limit'), c.license_info.get('users') if c.license_info.get('users') != -1 else _('unlimited'), '')) elems.append((_('License expires on'), h.fmt_date(h.time_to_datetime(c.license_info.get('valid_till'))), '')) %> %for dt, dd, tt in elems:
${dt}:
${dd}
%endfor
%if c.license_token: ${h.form(url('admin_settings_license'), method='post')}
${h.textarea('rhodecode_license_key', style="height:165px")} ${_('Paste your RhodeCode license key into that textarea.')}
${h.submit('save',_('Save settings'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")}
${h.end_form()} %else:
${_('Please enter following lines (if yet not present) into [app:main] section of your .ini file. The token below is autogenerated.')}

<%text>## license token
license_token = ${c.generated_license_token}
%endif