diff --git a/static/nryg.less b/static/nryg.less index cb2dcec6..c5bfee03 100644 --- a/static/nryg.less +++ b/static/nryg.less @@ -949,7 +949,7 @@ img { } } -.entry { +.diario { display: grid; .left { @@ -966,7 +966,7 @@ img { font-size: smaller; } - .entry-id { + .diario-id { text-align: right; } } diff --git a/templates/components/diarioentry.html b/templates/components/diarioentry.html index caa95470..a9109374 100644 --- a/templates/components/diarioentry.html +++ b/templates/components/diarioentry.html @@ -1,13 +1,23 @@ -
+

{{ entry.to_html() | safe }}

- — {% if entry.author is not none %}{{ entry.author.royal.username }}{% else %}Anonimo{% endif %}, {{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }} {% if entry.saver is not none and entry.saver != entry.author %}(salvato da {{ entry.saver.royal.username }}){% endif %} + — + {% if entry.author is not none %} + {{ entry.author.royal.username }} + {% else %} + Anonimo + {% endif %}, + {{ entry.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }} + {% if entry.saver is not none and entry.saver != entry.author %} + (salvato da {{ entry.saver.royal.username }}) + {% endif %} +

\ No newline at end of file