/
User Information widget

User Information widget


PURPOSE

To present the user with information related to his/her profile.


COMPONENTS

  1. Image Area


  2. Name Area


  3. Country Area


  4. Institution Area


DATA SOURCES

  1. Image Area
    CMS: TBD
    DB: TBD

  2. Name Area
    CMS:
    Users → Edit → <input name="resource[first_name]">
    Users → Edit → <input name="resource[last_name]">
    DB:
    unity_core_users.first_name
    unity_core_users.last_name

  3. Country Area
    CMS: Users → Edit → <select name="resource[country_code]">
    DB: unity_core_users.country_code

  4. Institution Area
    CMS: Users → Edit → <select name="resource[institution]">
    DB:
    unity_core_users.institution_id →unity_core_institutions.name


FUNCTIONS

  1. Image Area
    The system shall round the image to present a circle of TBD

  2. Name Area
    The system shall concatenate:
    first_name + blank space + last_name
    the result is to be converted to lowercase, applying then first letter uppercase conversion
    Example:
    first_name = "MARCO"
    last_name = "alvarez"
    result = "Marco Alvarez"
  3. Country Area
    The system shall provide the country name, not the country code, in English.

  4. Institution Area
    None. The system shall response with the institution's name as stated in the source field.


STIMULUS/RESPONSE SEQUENCE

None


ASSOCIATED FUNCTIONAL REQUIREMENTS

  • Profile Page
  • CMS→Institutions

Related content

User-Info Space
User-Info Space
More like this
My Profile
My Profile
More like this
Users
More like this
Edit Images
Edit Images
More like this
Settings
More like this