mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 07:29:39 +00:00
Piwik: Use unicode for titles
This commit is contained in:
parent
72bc839a49
commit
3c9f281b40
@ -99,10 +99,10 @@ class PiwikPlugin(IndicoPlugin):
|
||||
return
|
||||
if attachment.type == AttachmentType.link:
|
||||
resource_url = attachment.link_url
|
||||
resource_title = 'Link - {0.title}'.format(attachment)
|
||||
resource_title = u'Link - {0.title}'.format(attachment)
|
||||
else:
|
||||
resource_url = request.base_url
|
||||
resource_title = 'Download - {0.title}'.format(attachment)
|
||||
resource_title = u'Download - {0.title}'.format(attachment)
|
||||
track_download_request.delay(resource_url, resource_title)
|
||||
|
||||
def _extend_indico_help(self, sender, **kwargs):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user