1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Home") }}{% end block %}
8 <div class=
"col col-lg-6">
9 <h1>{{ _(
"Hello, %s!") % current_user.first_name }}
</h1>
12 {{ _(
"Welcome to the IPFire People Portal where you can manage your account and get in touch with others") }}
17 {% if not current_user.consents_to_promotional_emails %}
18 <div class=
"card glow-primary border-primary">
19 <div class=
"card-body">
20 <h6>{{ _(
"You are currently not subscribed to important updates from the IPFire Project") }}
</h6>
23 <div class=
"col-2 d-flex align-items-center justify-content-center">
24 <i class=
"fas fa-envelope-open-text fa-3x text-primary"></i>
27 <div class=
"col-10 col-lg-6 mb-3 mb-lg-0">
29 {{ _(
"Subscribe to receive notifications about important security updates of IPFire and other news from inside the project") }}
33 <div class=
"col-12 col-lg-4">
34 <form action=
"/subscribe" method=
"POST">
35 {% raw xsrf_form_html() %}
37 <button type=
"submit" class=
"btn btn-success btn-block">
38 {{ _(
"Subscribe Now") }}
48 <div class=
"card my-5">
49 <div class=
"card-body">
51 <div class=
"col-12 col-md-2 text-center">
52 <i class=
"far fa-smile-wink fa-4x my-3"></i>
55 <div class=
"col-12 col-md-10">
56 <h4 class=
"mb-0">{{ _(
"Tell us more about you!") }}
</h4>
58 {{ _(
"Become a part of our community and allow other people to connect with you!") }}
64 <div class=
"list-group list-group-flush">
65 {% for hint in hints %}
66 <a class=
"list-group-item list-group-item-action" href=
"/users/{{ current_user.uid }}/edit">
67 {% if hint ==
"avatar" %}
68 <h6 class=
"mb-0">{{ _(
"Upload an avatar!") }}
</h6>
71 {{ _(
"A picture says more than a thousand words.") }}
73 {% elif hint ==
"description" %}
74 <h6 class=
"mb-0">{{ _(
"Tell Us Who You Are!" ) }}
</h6>
77 {{ _(
"Add a couple of lines about yourself to your profile so that others get to know you better!") }}