]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/people/index.html
users: Move account activation handler into the main vhost
[ipfire.org.git] / src / templates / people / index.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ _("Home") }}{% end block %}
4
5 {% block content %}
6 <section>
7 <div class="row mb-5">
8 <div class="col col-lg-6">
9 <h1>{{ _("Hello, %s!") % current_user.first_name }}</h1>
10
11 <p>
12 {{ _("Welcome to the IPFire People Portal where you can manage your account and get in touch with others") }}
13 </p>
14 </div>
15 </div>
16
17 {% if not current_user.consents_to_promotional_emails %}
18 <div class="card border-primary">
19 <div class="card-body">
20 <div class="row">
21 <div class="col-2 d-flex align-items-center justify-content-center">
22 <i class="fas fa-envelope-open-text fa-3x text-primary"></i>
23 </div>
24
25 <div class="col-10 mb-3">
26 <h6 class="card-title">{{ _("You are currently not subscribed to important updates from the IPFire Project") }}</h6>
27
28 <p class="card-text">
29 {{ _("Subscribe to receive notifications about important security updates of IPFire and other news from inside the project") }}
30 </p>
31 </div>
32 </div>
33
34 <form action="/subscribe" method="POST">
35 {% raw xsrf_form_html() %}
36
37 <div class="d-grid">
38 <button type="submit" class="btn btn-success">
39 {{ _("Subscribe Now") }}
40 </button>
41 </div>
42 </form>
43 </div>
44 </div>
45 {% end %}
46 </section>
47 {% end block %}