1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
This commit is contained in:
Steffo 2019-01-08 21:08:50 +01:00
parent ada0f4badb
commit 84bf5dad52
2 changed files with 7 additions and 7 deletions

View file

@ -14,28 +14,28 @@
</h1> </h1>
<div class="two-columns"> <div class="two-columns">
<div class="left"> <div class="left">
{% if not g.logged_in %} {% if not g.user %}
{% include "components/welcome.html" %} {% include "components/welcome.html" %}
{% endif %} {% endif %}
{% if g.logged_in %} {% if g.user %}
{% if events %} {% if events %}
{% include "components/eventlist.html" %} {% include "components/eventlist.html" %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% include "components/memberbox.html" %} {% include "components/memberbox.html" %}
{% if g.logged_in %} {% if g.user %}
{% include "components/wikibox.html" %} {% include "components/wikibox.html" %}
{% endif %} {% endif %}
</div> </div>
<div class="right"> <div class="right">
{% if not g.logged_in %} {% if not g.user %}
{% include "components/whatarewe.html" %} {% include "components/whatarewe.html" %}
{% endif %} {% endif %}
{% if g.logged_in %} {% if g.user %}
{% include "components/questboard.html" %} {% include "components/questboard.html" %}
{% endif %} {% endif %}
{% include "components/gamestatsbox.html" %} {% include "components/gamestatsbox.html" %}
{% if g.logged_in %} {% if g.user %}
{% include "components/links.html" %} {% include "components/links.html" %}
{% include "components/diariooftheday.html" %} {% include "components/diariooftheday.html" %}
{% endif %} {% endif %}

View file

@ -43,7 +43,7 @@
Ultima modifica di <span class="last-author"><a href="/profile/{{ wiki_log.editor.username }}">{{ wiki_log.editor.username }}</a></span> alle <span class="last-timestamp">{{ wiki_log.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}</span>{% if wiki_log.reason %}, motivo: <span class="last-reason">{{ wiki_log.reason }}</span>{% endif %} Ultima modifica di <span class="last-author"><a href="/profile/{{ wiki_log.editor.username }}">{{ wiki_log.editor.username }}</a></span> alle <span class="last-timestamp">{{ wiki_log.timestamp.strftime('%Y-%m-%d %H:%M:%S %Z') }}</span>{% if wiki_log.reason %}, motivo: <span class="last-reason">{{ wiki_log.reason }}</span>{% endif %}
</div> </div>
{% endif %} {% endif %}
{% if session.get('user_id', '') %} {% if g.user %}
<div class="wiki-edit"> <div class="wiki-edit">
<h4>Modifica</h4> <h4>Modifica</h4>
<form action="{{ url_for('page_wiki', key=key) }}" method="POST"> <form action="{{ url_for('page_wiki', key=key) }}" method="POST">