%inherit file="//layout/admin_lite.html"/> <%namespace name="formset" file="//formset.html" /> <%namespace name="lib" file="//lib.html" /> <%def name="title()">${_('Licensing alerts')} - ${parent.title()}%def> <%def name="get_breadcrumbs()"> <% return [ [_('Manager'), ['manager']], [_('Licensing'), ['manager','system','licensing']], [_('Licensing alerts'), None] ] %> %def> <%def name="show_message_table(message_table)"> % if message_table is None or len(message_table) == 0:
${_('No licensing alerts')} |
${_('Severity')} | ${_('Time')} | ${_('Message')} | ${_('Indexer')} | ${_('Pool')} | ${_('Stack')} | ${_('Category')} |
---|---|---|---|---|---|---|
% if message['category'] not in ('pool_over_quota', 'stack_over_quota', 'orphan_slave', 'pool_warning_count', 'pool_violated_slave_count'):
${i18n.format_datetime(message['create_time']) | h}
(${i18n.format_timedelta(message['create_time']) | h}) % else: ${_('Correct by midnight to avoid violation')} ${_('Learn more')} % endif |
${message['text'] | h} | ${message['slave_name'] or '' | h} | ${message['pool_name'] or '' | h} | ${message['stack_name'] or '' | h} | ${message['category'] or '' | h} |
${_('License alerts notify you of excessive indexing warnings and licensing misconfigurations. If you receive too many warnings, your indexer will be in violation of the license and you will not be able to search.')} ${_('Learn more') % generateSelfHelpLink('license.alerts')}
% if category: ${show_message_table(all_messages)} % else: