views

Functions

intranet.apps.users.views.picture_view(request, user_id, year=None)[source]

Displays a view of a user’s picture.

Parameters:
  • user_id (str) – The ID of the user whose picture is being fetched.

  • year (str) – The user’s picture from this year is fetched. If not specified, use the preferred picture.

intranet.apps.users.views.profile_view(request, user_id=None)[source]

Displays a view of a user’s profile.

Parameters:

user_id – The ID of the user whose profile is being viewed. If not specified, show the user’s own profile.