<%! title = 'Find more apps' from splunk.appserver.mrsparkle.lib import util %> <%inherit file="../layout/admin.html" /> <%namespace name="helpers" file="../admin/_helpers.html"/> <% from splunk.appserver.mrsparkle.lib.msg_pool import MsgPoolMgr, UI_MSG_POOL msg_obj = MsgPoolMgr.get_poolmgr_instance()[UI_MSG_POOL].pop(msgid) # compile breadcrumbs string for passoff to the appinstall page this_url = util.strip_url(util.current_url_path(include_qs=True)) child_breadcrumbs = util.complete_breadcrumb(breadcrumbs, this_url) child_breadcrumbs_string = util.build_breadcrumbs_string(child_breadcrumbs) %> <%def name="paginator()">
<% qs = {} qs.update(cherrypy.request.params) %>
% if msg_obj: <%helpers:message content="${msg_obj.text}" level="${msg_obj.severity}" msg_obj="${msg_obj}"/> % endif

${_('Find more apps')}

${_('Browse to find more apps to get the most out of your Splunk experience.')}
% if not apps:

${_('No apps were found matching this search string.')}

% endif <% paginator() %>
    % for app in apps: <% try: icon_url = app['iconURL'] except: icon_url = 'appIcon_null.png' %>
  • % if icon_url is not None : % else : % endif

    ${app['appName']}

    ${app.summary |h} ${_('Read more')}
    ${_('Author:')} ${app.owner} ${_('Version:')} ${app['latestVersion']} ${_('Last updated:')} ${app['dateAddonUpdated']} ${_('Downloads:')} ${app['downloads']} ${_('License:')} ${app['license']}
    % if app['price'] and 'free' in app['price'].lower(): % if 'installed' in app: % if 'update_available' in app: % if app['implicit_id_required']:
    ${_('Be sure that your version of this app came from SplunkApps before updating.')}
    % endif % else:
    ${_('Latest version installed')}
    % endif % else: % endif % else : % endif
  • % endfor
<% paginator() %>