add blockchain explorer and supporting tag so we can search transaction ids
parent
cf95765783
commit
acf2220301
@ -0,0 +1,10 @@
|
||||
from django import template
|
||||
from django.conf import settings
|
||||
|
||||
|
||||
register = template.Library()
|
||||
|
||||
@register.filter(is_safe=True)
|
||||
def search_block_explorer(param):
|
||||
search_url = f'{settings.BLOCK_EXPLORER}search?value={param}'
|
||||
return search_url
|
Reference in New Issue