Statistics
| Branch: | Tag: | Revision:

root / templates / profile.html @ 66e55eba

History | View | Annotate | Download (1.6 kB)

1 064ecc91 Leonidas Poulopoulos
{% extends "base.html" %}
2 064ecc91 Leonidas Poulopoulos
{% load i18n %}
3 064ecc91 Leonidas Poulopoulos
4 064ecc91 Leonidas Poulopoulos
{% block title %}{% trans "My profile" %}{% endblock %}
5 62ee35d6 Leonidas Poulopoulos
{% block breadcrumbs %} <li class="active"><span class="divider">/</span>{% trans "My profile" %}</li>{% endblock %}
6 064ecc91 Leonidas Poulopoulos
{% block content %}
7 62ee35d6 Leonidas Poulopoulos
<h4>{% trans "My profile" %}</h4>
8 bd647319 Leonidas Poulopoulos
<hr>
9 97e42c7d Leonidas Poulopoulos
<div id="profile">
10 62ee35d6 Leonidas Poulopoulos
    <div class="row">
11 62ee35d6 Leonidas Poulopoulos
            <div class="span2"><strong>{% trans "Username" %}:</strong></div>
12 62ee35d6 Leonidas Poulopoulos
            <div class="span8">{{user.username}}</div>
13 62ee35d6 Leonidas Poulopoulos
    </div>
14 62ee35d6 Leonidas Poulopoulos
    <div class="row">
15 62ee35d6 Leonidas Poulopoulos
            <div class="span2"><strong>{% trans "First name" %}:</strong></div>
16 62ee35d6 Leonidas Poulopoulos
            <div class="span8">{{user.first_name}}</div>
17 62ee35d6 Leonidas Poulopoulos
    </div>
18 62ee35d6 Leonidas Poulopoulos
    <div class="row">
19 62ee35d6 Leonidas Poulopoulos
            <div class="span2"><strong>{% trans "Last name" %}:</strong></div>
20 62ee35d6 Leonidas Poulopoulos
            <div class="span8">{{user.last_name}}</div>
21 62ee35d6 Leonidas Poulopoulos
    </div>
22 62ee35d6 Leonidas Poulopoulos
    <div class="row">
23 62ee35d6 Leonidas Poulopoulos
            <div class="span2"><strong>{% trans "Email" %}:</strong></div>
24 62ee35d6 Leonidas Poulopoulos
            <div class="span8">{{user.email}}</div>
25 62ee35d6 Leonidas Poulopoulos
    </div>
26 62ee35d6 Leonidas Poulopoulos
    </div>
27 62ee35d6 Leonidas Poulopoulos
    <br>
28 62ee35d6 Leonidas Poulopoulos
    <div>
29 62ee35d6 Leonidas Poulopoulos
    <div class="row">
30 62ee35d6 Leonidas Poulopoulos
            <div class="span2"><strong>{% trans "My Networks" %}:</strong></div>
31 62ee35d6 Leonidas Poulopoulos
            <div class="span8"></div>
32 62ee35d6 Leonidas Poulopoulos
    </div>
33 62ee35d6 Leonidas Poulopoulos
        <table class="table table-striped table-bordered">
34 62ee35d6 Leonidas Poulopoulos
        <thead>
35 3d81901c Leonidas Poulopoulos
        <tr>
36 62ee35d6 Leonidas Poulopoulos
        <th>{% trans "Organization" %}</th><th>{% trans "Networks" %}</th>
37 3d81901c Leonidas Poulopoulos
        </tr>
38 62ee35d6 Leonidas Poulopoulos
        </thead>
39 3d81901c Leonidas Poulopoulos
        {% for peer in peers %}
40 62ee35d6 Leonidas Poulopoulos
                <tr>
41 3d81901c Leonidas Poulopoulos
                <td>{{peer}} </td>
42 3d81901c Leonidas Poulopoulos
                <td>
43 3d81901c Leonidas Poulopoulos
                {% for network in peer.networks.all %}
44 3d81901c Leonidas Poulopoulos
                {{network}}<br>
45 3d81901c Leonidas Poulopoulos
                {% empty %}
46 101d86ee Leonidas Poulopoulos
            <span style="color:red">{% blocktrans %}Ooops! Seems you have no networks associated with your peer. Contact Helpdesk to resolve this issue.{% endblocktrans %}</span>
47 3d81901c Leonidas Poulopoulos
                {% endfor %}
48 3d81901c Leonidas Poulopoulos
                </td></tr>
49 97e42c7d Leonidas Poulopoulos
        {% endfor %}
50 3d81901c Leonidas Poulopoulos
        </table>
51 064ecc91 Leonidas Poulopoulos
</div>
52 064ecc91 Leonidas Poulopoulos
53 064ecc91 Leonidas Poulopoulos
{% endblock %}
54 101d86ee Leonidas Poulopoulos
55 62ee35d6 Leonidas Poulopoulos