steambird/templatetags/ut_url_mapper.py
def people_utwente(initials, surname_prefix, surname) -> str:
    """
    Template tag which resolves teacher names into a people.utwente.nl URL

    :param initials: string
    :param surname_prefix: string
    :param surname: string
    :return: people.utwente.nl URL for given teacher
    """
    if surname_prefix is None:
        surname_prefix = ""

    return "https://people.utwente.nl/{}{}{}" \
        .format(initials, surname_prefix, surname).replace(' ', '')

    Template tag which resolves teacher names into a people.utwente.nl URL

    :param initials: string
    :param surname_prefix: string
    :param surname: string
    :return: people.utwente.nl URL for given teacher
    
Template tag which resolves teacher names into a people.utwente.nl URL
Template tag which resolves teacher names into a people . utwente . nl URL
def people_utwente(initials, surname_prefix, surname) -> str:
    if surname_prefix is None:
        surname_prefix = ""
    return "https://people.utwente.nl/{}{}{}" \
        .format(initials, surname_prefix, surname).replace(' ', '')
def people_utwente ( initials , surname_prefix , surname ) -> str : if surname_prefix is None : surname_prefix = "" return "https://people.utwente.nl/{}{}{}" . format ( initials , surname_prefix , surname ) . replace ( ' ' , '' )
Template tag which resolves teacher names into a people.utwente.nl URL
Template tag which resolves teacher names into a people . utwente . nl URL
"""
    Template tag which resolves teacher names into a people.utwente.nl URL

    :param initials: string
    :param surname_prefix: string
    :param surname: string
    :return: people.utwente.nl URL for given teacher
    """
people.utwente.nl URL for given teacher
people . utwente . nl URL for given teacher
initials
None
surname_prefix
None
surname
None