{% load i18n %}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd"> 
<html>
<head>
<title>{% trans "New Member Joined under Your Corporation" %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
    <p>
        Hello {{ user.first_name }},<br /><br />
        
        {{ membership.user.first_name }} {{ membership.user.last_name }} has
        {% if not membership.renewal %}
        joined 
        {% else %}
        renewed
        {% endif %}
        the membership under your corporation
        "{{ corp_membership }}" on <a href="{{ SITE_GLOBAL_SITEURL }}">{{ SITE_GLOBAL_SITEURL }}</a>. 
        <br /><br />
        
        To view the profile of this member, go to <a href="{{ SITE_GLOBAL_SITEURL }}{% url profile membership.user.username %}">{{ SITE_GLOBAL_SITEURL }}{% url profile membership.user.username %}</a>.
        <br /> <br />
        
         To view and manage the corporate membership, go to <a href="{{ SITE_GLOBAL_SITEURL }}{% url corpmembership.view corp_membership.id %}">{{ SITE_GLOBAL_SITEURL }}{% url corpmembership.view corp_membership.id %}</a>.
        <br /> <br />
      
        Thanks,<br />
        {{ SITE_GLOBAL_SITEDISPLAYNAME }}
        <br /><br />    
    </p>
    <P>Time submitted:  {% now "D d M Y P" %}</P>
    
</body>
</html>