]>
Commit | Line | Data |
---|---|---|
dd3d93e3 | 1 | {% extends "../base.html" %} |
66862195 | 2 | |
7aee4b8d | 3 | {% block title %}{{ _("Home") }}{% end block %} |
66862195 | 4 | |
d09d554b MT |
5 | {% block content %} |
6 | <section> | |
5d42f49b | 7 | <div class="row mb-5"> |
edb40248 MT |
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> | |
5d42f49b MT |
16 | |
17 | {% if hints %} | |
18 | <div class="card my-5"> | |
19 | <div class="card-body"> | |
20 | <div class="row"> | |
21 | <div class="col-12 col-md-2 text-center"> | |
22 | <i class="far fa-smile-wink fa-4x my-3"></i> | |
23 | </div> | |
24 | ||
25 | <div class="col-12 col-md-10"> | |
26 | <h4 class="mb-0">{{ _("Tell us more about you!") }}</h4> | |
27 | <p> | |
28 | {{ _("Become a part of our community and allow other people to connect with you!") }} | |
29 | </p> | |
30 | </div> | |
31 | </div> | |
32 | </div> | |
33 | ||
34 | <div class="list-group list-group-flush"> | |
35 | {% for hint in hints %} | |
36 | <a class="list-group-item list-group-item-action" href="/users/{{ current_user.uid }}/edit"> | |
37 | {% if hint == "avatar" %} | |
38 | <h6 class="mb-0">{{ _("Upload an avatar!") }}</h6> | |
39 | ||
40 | <p class="card-text"> | |
41 | {{ _("A picture says more than a thousand words.") }} | |
42 | </p> | |
67fc00bc MT |
43 | {% elif hint == "description" %} |
44 | <h6 class="mb-0">{{ _("Tell Us Who You Are!" ) }}</h6> | |
45 | ||
46 | <p class="card-text"> | |
47 | {{ _("Add a couple of lines about yourself to your profile so that others get to know you better!") }} | |
48 | </p> | |
5d42f49b MT |
49 | {% end %} |
50 | </a> | |
51 | {% end %} | |
52 | </div> | |
53 | </div> | |
54 | {% end %} | |
d09d554b | 55 | </section> |
66862195 | 56 | {% end block %} |