def display_admin_resources(): '''This routine displays the administration tools for resource units. It is password protected because the listing page allows administrative features. ''' return display_content( breadcrumbs=get_breadcrumbs('admin', 'resources'), title='Administration: Resources', primaryList=create_admin_resources_list(Resources.read_units()), primaryListHr=True, editable=False )
def display_resources(): '''Configure and display the resources overview page.''' return display_content( breadcrumbs=get_breadcrumbs('resources'), image=Images.read_tagged_unit('resources'), title='Department Resources', primary='''The Department of Computer Science offers the following resources.''', primaryList=create_resources_list(Resources.read_units()), primaryListHr=False, editable=False )