<%inherit file="/layout/message.html" /> <%def name="header()"> <% # Unfortunately, this "header()" section seems to be initialized before the isLite block above. # So isLite must be defined within this block as well. from splunk.appserver.mrsparkle.lib import util isLite = util.isLite() %> % if not isLite:

${_('App not found') | h}

% else:

${_('"%s" not found') % app | h}

% endif

% if not isLite: ${_('The app "%s" is not available') % app | h} % else: ${_('"%s" is not available on this system.') % app | h} % endif

% if not isLite:

The app you requested is not available on this system. Check the spelling of the app, or choose another from the following list:

% for a in apps: % endfor
${apps[a]['label'] | h} % if apps[a].get('description'): ${apps[a].get('description', '') | h} % else: ${_('(no description)') | h} % endif
% endif