From 07a26b0488b574d1500d1079bc4d72bef0d71c24 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Sat, 26 Jul 2014 23:51:00 -0300 Subject: [PATCH] Customizing user email activation page and organizations in the registration --- .../fibre/fibre_registration_view.html | 34 ++++++++++++++++++- .../fibre/fibre_user_register_complete.html | 18 ++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 portal/templates/fibre/fibre_user_register_complete.html diff --git a/portal/templates/fibre/fibre_registration_view.html b/portal/templates/fibre/fibre_registration_view.html index 4b57f8bb..a1ab866b 100644 --- a/portal/templates/fibre/fibre_registration_view.html +++ b/portal/templates/fibre/fibre_registration_view.html @@ -167,7 +167,39 @@ $(document).ready(function(){ {% if authority.authority_hrn == "fibre.ufrj" %} {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL DO RIO DE JANEIRO"}, {% else %} - {value:"{{ authority.authority_hrn }}",label:"FIBRE"}, + {% if authority.authority_hrn == "fibre.ufg" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL DE GOIAS"}, + {% else %} + {% if authority.authority_hrn == "fibre.uff" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL FLUMINENSE"}, + {% else %} + {% if authority.authority_hrn == "fibre.ufpa" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL DO PARA"}, + {% else %} + {% if authority.authority_hrn == "fibre.ufpe" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL DE PERNAMBUCO"}, + {% else %} + {% if authority.authority_hrn == "fibre.ufscar" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE FEDERAL DE SAO CARLOS"}, + {% else %} + {% if authority.authority_hrn == "fibre.unifacs" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE SALVADOR"}, + {% else %} + {% if authority.authority_hrn == "fibre.usp" %} + {value:"{{ authority.authority_hrn }}",label:"UNIVERSIDADE DE SAO PAULO"}, + {% else %} + {% if authority.authority_hrn == "fibre.cpqd" %} + {value:"{{ authority.authority_hrn }}",label:"CENTRO DE PESQUISA E DESENVOLVIMENTO EM TELECOMUNICACOES"}, + {% else %} + {value:"{{ authority.authority_hrn }}",label:"FIBRE"}, + {% endif %} + {% endif %} + {% endif %} + {% endif %} + {% endif %} + {% endif %} + {% endif %} + {% endif %} {% endif %} {% endif %} {% endfor %} diff --git a/portal/templates/fibre/fibre_user_register_complete.html b/portal/templates/fibre/fibre_user_register_complete.html new file mode 100644 index 00000000..2bd2f0a2 --- /dev/null +++ b/portal/templates/fibre/fibre_user_register_complete.html @@ -0,0 +1,18 @@ +{% extends "layout.html" %} + +{% block content %} + +
+

User Registration User sign-up

+
+
+

Sign up information received.

+

You can now log in to the portal. You will have limited access.

+

To gain full access, two steps are required:

+ +
+ +{% endblock %} -- 2.43.0