project/templates/user/account.html
changeset 118 78dfa383f6a3
parent 96 178b89a3ca4f
child 122 7bdf396d4778
equal deleted inserted replaced
117:1b68c8aa6091 118:78dfa383f6a3
     1 {% extends "base.html" %}
     1 {% extends "base.html" %}
     2           <li class="last"><a
     2 <!-- 
     3             href="mailto:kauaerangastore@xtra.co.nz">kauaerangastore@xtra.co.nz</a></li>
     3 <li class="last">
       
     4 <a href="mailto:kauaerangastore@xtra.co.nz">kauaerangastore@xtra.co.nz</a></li>
       
     5  -->
     4 <!-- TODO: Lot of fees related and New Zealand group related info. -->
     6 <!-- TODO: Lot of fees related and New Zealand group related info. -->
     5 {% block title %}My Profile{% endblock %}
     7 {% block title %}My Profile{% endblock %}
     6 
     8 
     7 {% block content %}
     9 {% block content %}
     8 <h1>My Profile: {{ user.first_name }} {{user.last_name}}</h1>
    10 <h1>My Profile: {{ user.first_name }} {{user.last_name}}</h1>
    23         <td>
    25         <td>
    24         {% if user.first_name %}
    26         {% if user.first_name %}
    25             <span>{{ user.get_full_name }}</span>
    27             <span>{{ user.get_full_name }}</span>
    26         {% else %}
    28         {% else %}
    27         <span class="important">No name, please <a 
    29         <span class="important">No name, please <a 
    28             href="{% url scipycon_edit_profile %}">edit profile</a>.</span>
    30             href="{% url scipycon_edit_profile params.scope %}">edit profile</a>.</span>
    29         {% endif %}
    31         {% endif %}
    30         </td>
    32         </td>
    31         <td rowspan="4">
    33         <td rowspan="4">
    32         <div class="picture">
    34         <div class="picture">
    33           <img src="{{ photo }}" width="80" height="80" />
    35           <img src="{{ photo }}" width="80" height="80" />