diff --git a/telegrambot.py b/telegrambot.py index 9b002a40..748f5d65 100644 --- a/telegrambot.py +++ b/telegrambot.py @@ -212,7 +212,9 @@ def cmd_diario(bot: Bot, update: Update): text=text) session.add(diario) session.commit() - bot.send_message(update.message.chat.id, f"✅ Aggiunto al diario!") + bot.send_message(update.message.chat.id, + f"✅ Riga [#{diario.id}](https://ryg.steffo.eu/diario#entry-{diario.id}) aggiunta al diario!", + parse_mode="Markdown", disable_web_page_preview=True) except Exception: raise finally: diff --git a/templates/ritual.html b/templates/ritual.html new file mode 100644 index 00000000..9aa465cf --- /dev/null +++ b/templates/ritual.html @@ -0,0 +1,29 @@ +{% extends 'base.html' %} + +{% block pagetitle %} + Rituale {{ n }} +{% endblock %} + +{% block body %} +