%! title = 'Browse SplunkBase' %> <%def name="prepareRemotePath(category, subcategory, page, offset)"> <% query = [] if page: query.append('page=%s' % page) if offset: query.append('offset=%s' % offset) if subcategory: category = subcategory if category is not None and category is not 'All': query.append('category=%s' % category) if query: return '?' + '&'.join(query) else: return '' %> %def> <%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) %> % if msg_obj: <%helpers:message content="${msg_obj.text}" level="${msg_obj.severity}"/> % endif
<%doc>TRANS: Author of an app%doc>${_('Author:')} | ${app.owner} | <%doc>TRANS: Type of app%doc>${_('Type:')} | ${', '.join(app['types'])} |
---|---|---|---|
<%doc>TRANS: Rating of app%doc>${_('Rating:')} |
% if app['rating'] != 'No Data':
${app['rating'] }
## for star in xrange(round(eval(app['rating']))-1):
## *
## endfor
## if eval(app['rating']) - round(eval(app['rating'] )):
## +
## endif
% else:
None
% endif
(${app['ratingCount']} votes)
|
<%doc>TRANS: Date app was added:%doc>${_('Added:')} | ${app['dateAdded']} |
<%doc>TRANS: Number of times app was downloaded%doc>${_('Downloads:')} | ${app['downloads']} | <%doc>TRANS: Date app was last updated%doc>${_('Last updated:')} | ${app['dateUpdated']} |
${_('License:')} | ${app['license']} | ${_('Price:')} |
% if app['price'] is not None:
% if app['price'].startswith('Email'):
|