blob: 3760fef93e153d1a32f1ce8b78e746d05ed3ff8d [file] [log] [blame]
Fatih Degirmencic2a46012019-09-30 12:07:45 +02001{% extends "base.html" %}
2{% import 'bootstrap/wtf.html' as wtf %}
3
4{% block app_content %}
5 <div class="jumbotron">
6 {% if current_user.is_anonymous %}
7 <h3>Please register to access full functionality</h3>
8 <p class="lead"></p>
9 <p><a class="btn btn-lg btn-success" href="register" role="button">Register</a></p>
10 {% else %}
Fatih Degirmencie4651802019-10-01 07:58:33 +000011 {% if current_user.fullname != "" %}
12 {% set welcome_name = current_user.fullname %}
13 {% else %}
14 {% set welcome_name = current_user.email %}
15 {% endif %}
16 <h4>Welcome {{ welcome_name }}!</h4>
Fatih Degirmencic2a46012019-09-30 12:07:45 +020017 {% endif %}
18 </div>
Fatih Degirmenci9fd6bfa2019-09-30 18:44:56 +000019 <div class="jumbotron" style="background:lightyellow">
20 {{ text|markdown }}
21 </div>
Fatih Degirmencic2a46012019-09-30 12:07:45 +020022{% endblock %}