mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
display links in the diario entries
This commit is contained in:
parent
ff6f411e6a
commit
ebad99d049
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class Diario:
|
|||
f" spoiler={self.spoiler}>"
|
||||
|
||||
def __str__(self):
|
||||
text = f"Riga #{self.diario_id} (salvata"
|
||||
text = f"[url=https://ryg.steffo.eu/#/d/{self.diario_id}]/d/{self.diario_id}[/url] (creata"
|
||||
if self.creator is not None:
|
||||
text += f" da {str(self.creator)}"
|
||||
text += f" il {self.timestamp.strftime('%Y-%m-%d %H:%M')}):\n"
|
||||
|
|
Loading…
Reference in a new issue