Skip to content

Commit

Permalink
update icons for jarbas social links.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomario committed Aug 13, 2019
1 parent 5577c12 commit cc78530
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jarbas/dashboard/admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ def rosies_tweet(self, obj):
def receipt_link(self, obj):
if not obj.receipt_url:
return ''
return mark_safe(f'<a target="_blank" href="{obj.receipt_url}">📃</a>')
image_src = '/static/image/receipt_icon.png'
image = '<img src="{}">'.format(image_src)

return mark_safe('<a target="_blank" href="{}">{}</a>'.format(obj.receipt_url, image))

receipt_link.short_description = ''

Expand Down
Binary file modified jarbas/layers/static/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified jarbas/layers/static/image/facebook-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added jarbas/layers/static/image/receipt_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified jarbas/layers/static/image/twitter-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc78530

Please sign in to comment.