Show download-provider specific icons where defined

This commit is contained in:
Martin Gross
2018-08-15 17:24:49 +02:00
committed by Raphael Michel
parent 08ee37112f
commit 1b5c4a21bb
4 changed files with 11 additions and 3 deletions

View File

@@ -82,6 +82,7 @@ class OrderDetails(EventViewMixin, OrderDetailMixin, CartMixin, TemplateView):
continue
buttons.append({
'text': provider.download_button_text or 'Download',
'icon': provider.download_button_icon or 'fa-download',
'identifier': provider.identifier,
'multi': provider.multi_download_enabled
})