/
User Information widget
User Information widget
PURPOSE
To present the user with information related to his/her profile.
COMPONENTS
- Image Area
- Name Area
- Country Area
- Institution Area
DATA SOURCES
- Image Area
CMS: TBD
DB: TBD - 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 - Country Area
CMS: Users → Edit → <select name="resource[country_code]">
DB: unity_core_users.country_code - Institution Area
CMS: Users → Edit → <select name="resource[institution]">
DB:
unity_core_users.institution_id →unity_core_institutions.name
FUNCTIONS
- Image Area
The system shall round the image to present a circle of TBD - 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" - Country Area
The system shall provide the country name, not the country code, in English. - 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
, multiple selections available,
Related content
User-Info Space
User-Info Space
More like this
My Profile
My Profile
More like this
My Classes widget
My Classes widget
More like this
Users
Users
More like this
Edit Images
Edit Images
More like this
Settings
Settings
More like this