mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-30 15:04:18 +00:00
loggedin
This commit is contained in:
parent
ada0f4badb
commit
84bf5dad52
2 changed files with 7 additions and 7 deletions
|
@ -14,28 +14,28 @@
|
|||
</h1>
|
||||
<div class="two-columns">
|
||||
<div class="left">
|
||||
{% if not g.logged_in %}
|
||||
{% if not g.user %}
|
||||
{% include "components/welcome.html" %}
|
||||
{% endif %}
|
||||
{% if g.logged_in %}
|
||||
{% if g.user %}
|
||||
{% if events %}
|
||||
{% include "components/eventlist.html" %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% include "components/memberbox.html" %}
|
||||
{% if g.logged_in %}
|
||||
{% if g.user %}
|
||||
{% include "components/wikibox.html" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="right">
|
||||
{% if not g.logged_in %}
|
||||
{% if not g.user %}
|
||||
{% include "components/whatarewe.html" %}
|
||||
{% endif %}
|
||||
{% if g.logged_in %}
|
||||
{% if g.user %}
|
||||
{% include "components/questboard.html" %}
|
||||
{% endif %}
|
||||
{% include "components/gamestatsbox.html" %}
|
||||
{% if g.logged_in %}
|
||||
{% if g.user %}
|
||||
{% include "components/links.html" %}
|
||||
{% include "components/diariooftheday.html" %}
|
||||
{% endif %}
|
||||
|
|
|
@ -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 %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if session.get('user_id', '') %}
|
||||
{% if g.user %}
|
||||
<div class="wiki-edit">
|
||||
<h4>Modifica</h4>
|
||||
<form action="{{ url_for('page_wiki', key=key) }}" method="POST">
|
||||
|
|
Loading…
Reference in a new issue