change 'downloads' wording to be less ambiguous
This commit is contained in:
parent
137567b0bf
commit
04ea42339a
|
@ -56,7 +56,7 @@ class GoogleAnalyticsPlugin(SingletonPlugin):
|
|||
# add some stats
|
||||
def download_adder(stream):
|
||||
download_html = ''' <span class="downloads-count">
|
||||
(%s downloads)</span>'''
|
||||
(downloaded %s times)</span>'''
|
||||
count = None
|
||||
for mark, (kind, data, pos) in stream:
|
||||
if mark and kind == START:
|
||||
|
|
|
@ -90,4 +90,4 @@ class xTestLoadCommand(TestCase):
|
|||
response = self.app.get(url_for(controller='package',
|
||||
action='read',
|
||||
id='annakarenina'))
|
||||
assert "(4 downloads)" in response.body, response.body
|
||||
assert "(downloaded 4 times)" in response.body, response.body
|
||||
|
|
Loading…
Reference in New Issue