Changeset 154:a341292b1bff


Ignore:
Timestamp:
Oct 21, 2009 3:19:17 PM (4 years ago)
Author:
slav0nic <slav0nic0@…>
Branch:
default
Message:

remove email from user profile template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/forum/templates/forum/user.html

    r34 r154  
    3838                                                        <dt>{% trans "E-mail:" %} </dt> 
    3939                                                        {% ifequal profile.forum_profile.privacy_permission 0 %} 
    40                                                         <dd><a href="mailto:{{ profile.email }}">{% trans "E-mail" %}</a></dd> 
     40                                                                <dd><a href="mailto:{{ profile.email }}">{{ profile.email }}</a></dd> 
    4141                                                        {% else %} 
    42                                                         {% ifequal profile.forum_profile.privacy_permission 1 %} 
    43                                                         <dd><a href="{% url misc %}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></dd> 
    44                                                         {% else %} 
    45                                                         <dd>{% trans "(Unknown)" %}</dd> 
     42                                                                {% ifequal profile.forum_profile.privacy_permission 1 %} 
     43                                                                        <dd><a href="{% url misc %}?mail_to={{ profile }}">{% trans "Send e-mail" %}</a></dd> 
     44                                                                {% else %} 
     45                                                                        <dd>{% trans "(Hidden)" %}</dd> 
     46                                                                {% endifequal %} 
    4647                                                        {% endifequal %} 
    47                                                         {% endifequal %} 
    48                                                         <dd>{{ profile.forum_profile.user.email }}</dd>         
    4948                                                </dl> 
    5049                                                <div class="clearer"></div> 
Note: See TracChangeset for help on using the changeset viewer.