fixes
This commit is contained in:
parent
d9e2a39899
commit
b7fbcbc089
|
|
@ -79,6 +79,10 @@ class PlayerTemplates:
|
||||||
'text': self.user.translated('viewTrackAsClient_button'),
|
'text': self.user.translated('viewTrackAsClient_button'),
|
||||||
'url': f"https://t.me/{CLIENT_TELEGRAM_BOT_USERNAME}?start=C{content.cid.serialize_v2()}"
|
'url': f"https://t.me/{CLIENT_TELEGRAM_BOT_USERNAME}?start=C{content.cid.serialize_v2()}"
|
||||||
}])
|
}])
|
||||||
|
inline_keyboard_array.append([{
|
||||||
|
'text': self.user.translated('openContractPage_button'),
|
||||||
|
'url': f"https://tonscan.org/address/{content_meta['item_address']}"
|
||||||
|
}])
|
||||||
else:
|
else:
|
||||||
local_content = None
|
local_content = None
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -154,3 +154,6 @@ msgstr "View track"
|
||||||
#: app/client_bot/routers/content.py:138
|
#: app/client_bot/routers/content.py:138
|
||||||
msgid "cancelPurchase_button"
|
msgid "cancelPurchase_button"
|
||||||
msgstr "Cancel purchase"
|
msgstr "Cancel purchase"
|
||||||
|
|
||||||
|
msgid "openContractPage_button"
|
||||||
|
msgstr "Open smartcontract"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue