[changed_member_priv]
LOG: Privileges of user {{ username }} in project {{ project }} changed by {{ log.user_name }}
subject: Your privileges for project {{ project }} have been changed
body: Your role for project {{ project }} has been changed from {{ s_role }} to {{ d_role }}
  {% if admin_address %}For further information please contact {{ admin_address }}
  {% endif %}
  Please, don't reply to this message

[first_registration_ok]
LOG: Registration of {{ username }} and creation of project {{ project }} approved by {{ log.user_name }}
subject: Your registration has been accepted
body: Your account has been registered
  Your login name is {{ username }}
  The project {{ project }} has been created and you're its project administrator
  
  Please, don't reply to this message

[first_registration_rejected]
LOG: Registration of {{ username }} and {% if project_creation %}creation of{% else %}affiliation to{% endif %} {{ projects|join:', ' }} rejected by {{ log.user_name }}
subject: Registration not authorized
body: Your request to access the cloud infrastructure was rejected
  {% if notes %}{{ notes }}{% endif %}
  
  Please, don't reply to this message

[member_removed]
LOG: User {{ username }} removed from {{ project }} by {{ log.user_name }}
subject: User removed from {{ project }}
body: Your account has been removed from the project {{ project }}
  {% if notes %}{{ notes }}{% endif %}
  For further information please contact {{ admin_address }}
  
  Please, don't reply to this message

[member_removed_for_admin]
LOG: User {{ username }} removed from {{ project }} by {{ log.user_name }}
subject: User {{ username }} removed from {{ project }}
body: User {{ username }} has been removed from the project {{ project }}
  {% if notes %}{{ notes }}{% endif %}
  For further information please contact {{ admin_address }}
  
  Please, don't reply to this message

[member_forced_added]
LOG: User {{ username }} forcedly added to {{ project }} by {{ log.user_name }}
subject: User {{ username }} inserted into {{ project }}
body: User {{ username }} has been inserted into the project {{ project }} by cloud admin
  {% if isadmin %}
  You are the administrator of this project
  {% endif %}
  Please, don't reply to this message

[member_forced_removed]
LOG: User {{ username }} forcedly removed to {{ project }} by {{ log.user_name }}
subject: User {{ username }} removed from {{ project }}
body: User {{ username }} has been removed from the project {{ project }} by cloud admin
  
  Please, don't reply to this message

[project_created_by_admin]
LOG: Project {{ project }} created by {{ log.user_name }}
subject: Created new project {{ project }}
body: The cloud admin has created the project {{ project }}
  
  Please, don't reply to this message

[member_request]
LOG: User {{ username }} requests access to project {{ project }}
subject: New request for membership
body: The user {{ username }} requires to access the project {{ project }}
  For further details refer to http://www.pd.infn.it/cloud/Users_Guide/html-desktop/#ManageProjectMembers
  
  Please, don't reply to this message

[project_created]
LOG: Project {{ project }} created by {{ log.user_name }}
subject: Request for a new project has been accepted
body: The new project {{ project }} has been created and you're its project administrator
  
  Please, don't reply to this message

[project_creation_request]
LOG: User {{ username }} requests creation of project {{ project }}
subject: Registered user {{ username }} requires a new tenant
body: The registered user {{ username }} requires the creation of a new project {{ project }}
  
  Please, don't reply to this message

[project_rejected]
LOG: Creation of project {{ project }} rejected by {{ log.user_name }}
subject: Request for a new project has been rejected
body: The cloud administrator rejected the creation of project {{ project }}
  {% if notes %}{{ notes }}{% endif %}
  
  Please, don't reply to this message

[registration_available]
LOG: Registration request of user {{ username }} and {% if project_creation %}creation of{% else %}affiliation to{% endif %} {{ projects|join:', ' }} available
  {% if contactper %}Contact person: {{ contactper }}{% endif %}
subject: New request for registration available ({{ username }})
body: A new request for registration is available
  {% if username %}The username is {{ username }}{% endif %}
  {% if notes %}Notes: {{ notes }}{% endif %}
  {% if contactper %}Contact person: {{ contactper }}{% endif %}
  
  Please, don't reply to this message

[subscription_forced_approved]
LOG: Subscription of {{ username }} to project {{ project }} forcedly approved by {{ log.user_name }}
subject: Cloud manager forcedly approved subscription
body: Cloud manager forcedly approved the subscription of {{ username }} to {{ project }}
  
  Please, don't reply to this message

[subscription_forced_rejected]
LOG: Subscription of {{ username }} to project {{ project }} forcedly rejected by {{ log.user_name }}
subject: Cloud manager forcedly rejected subscription
body: Cloud manager forcedly rejected the subscription of {{ username }} to {{ project }}
  
  Please, don't reply to this message

[subscription_ongoing]
LOG: Subscription of {{ username }} to project {{ project }} prechecked by {{ log.user_name }}
subject: Subscription under evaluation
body: Your subscription to {{ project }} is now under evaluation.
  For any information please contact:
  {% for p_email in prjadmins %}
  {{ p_email }}
  {% endfor %}
  
  Please, don't reply to this message

[subscription_processed]
LOG: Subscription of {{ username }} to project {{ project }} approved by {{ log.user_name }}
subject: Subscription to {{ project }} approved
body: The subscription of {{ username }} to the project {{ project }} has been approved
  
  Please, don't reply to this message

[subscription_rejected]
LOG: Subscription of {{ username }} to project {{ project }} rejected by {{ log.user_name }}
subject: Subscription to {{ project }} rejected
body: The subscription of {{ username }} to the project {{ project }} has been rejected
  {% if notes %}{{ notes }}{% endif %}
  
  Please, don't reply to this message

[subscription_reminder]
LOG: Sent reminder for subscription of {{ username }} to project {{ project }}
subject: Subscription reminder
body: You have the following pending subscriptions for project {{ project }}:
  {% for req in pendingreqs %}
  * {{ req }}
  {% endfor %} 
  For further details refer to http://www.pd.infn.it/cloud/Users_Guide/html-desktop/#ManageProjectMembers
  
  Please, don't reply to this message

[subscription_waiting_approval]
LOG: User {{ username }} requests to join project {{ project }}
subject: Subscription request waiting for approval
body: User {{ username }} requires access to project {{ project }}
  Please, validate the subscription request
  For further details refer to http://www.pd.infn.it/cloud/Users_Guide/html-desktop/#ManageProjectMembers
  
  Please, don't reply to this message

[user_expiring]
LOG: Sent account expiration notice to {{ username }}
subject: Affiliation to {{ project }} is going to expire
body: Your affiliation to the project {{ project }} will expire in {{ days }} days.
  If you wish to renew the affiliation please open the CloudVeneto dashboard in a browser and select the project: {{ project }}.

  Please, don't reply to this message

[user_need_renew]
LOG: User {{ username }} requires renewal
subject: User {{ username }} requires renewal
body: The affiliation of {{ username }} to {{ project }} is going to expire.
  Please, renew the affiliation or the user will be removed from the project
  
  Please, don't reply to this message

[user_renewed]
LOG: User {{ username }} renewed until {{ expiration}} by {{ log.user_name}}
subject: Affiliation to {{ project }} has been renewed
body: The affiliation for {{ username }} to {{ project }} has been renewed.
  The new expiration date is {{ expiration }}.
  
  Please, don't reply to this message

[user_expired]
LOG: Affiliation of {{ username }} to {{ project }} is expired
subject: Affiliation to {{ project }} is expired
body: The affiliation for {{ username }} to {{ project }} is expired.
  
  Please, don't reply to this message

[user_purged]
LOG: User {{ username }} removed by {{ log.user_name }}
subject: Account for user {{ username }} has been removed
body: The account {{ username }} has been removed from Cloud Area Padovana.
  
  Please, don't reply to this message

[generic_message]
LOG: Message from project admin: {{ username }}
subject: Message from the project administrator of {{ project }}
body: The administrator of the project {{ project }} has just sent the following message:
  {{ message }}
  
  Please, don't reply to this message

[proposed_renewal]
LOG: Proposed renewal to {{ username }} for project {{ project }}
subject: Proposed renewal to {{ username }} for project {{ project }}
body: Your affiliation to the project {{ project }} is going to expire
  If you wish to renew the affiliation please enter the the project work area in the dashboard.
  
  Please, don't reply to this message

[deleted_users_summary]
subject: Summary of the expired users
body: The following project memberships have been deleted: 
  {% for username, user_mail, project, is_last_admin in summary %}
  User {{ username }} ({{ user_mail }}) from {{ project }} {% if is_last_admin %}(last administrator, replaced by Cloud Admin){% endif %}
  {% endfor %}

  Please, don't reply to this message

[compliance_check]
LOG: Compliance check required for {{ username }} and project {{ project }}
subject: Compliance check required for {{ username }} and project {{ project }}
body: The user {{ username }} requires the affiliation to the project {{ project }}.
  Compliance to INFN rules is necessary.
  
  Please, don't reply to this message

[proposed_promotion]
LOG: Proposed promotion for {{ username }} within project {{ project }}
subject: Proposed promotion for {{ username }} within project {{ project }}
body: A proposed promotion is avaliable for user {{ username }} as administrator of the project {{ project }}.
  
  Please, don't reply to this message


[promotion_rejected]
LOG: Promotion rejected for {{ username }} within project {{ project }}
subject: Promotion rejected for {{ username }} in project {{ project }}
body: The promotion of the user {{ username }} as administrator of the project {{ project }} has been rejected by Cloud Administrators.
  
  Please, don't reply to this message


