#set( $name = $document.name )
#set ( $documentAttributes = $document.attributeMap )
#set ( $documentLinks = $document.actualVersion.content.links )
#set ( $subchapters = $documentLinks.subchapters )

	#i18('courses.element.type.course'): $stringUtils.abbreviate($currentCourse.title,110)

#i18("site.content.${document.attributeMap.get('type')}"): $title

    ##
    #set ( $_mark = $educationProgress.getMapValue($currentEducation.learningUnitProcessed , $currentUnit.name) )
    #if( ! $educationProgress.getMapValue($currentEducation.learningUnitProcessed , $currentUnit.name) )
    	
- #i18('courses.partake.mark.edited')
    #elseif ( $_mark.processed.equals("true"))
    	
- #i18('courses.partake.mark.notedited')
    #else
    	
- #i18('courses.partake.mark.edited')
    #end

#contentpicto( $document.attributeMap.get('type') )
#if( $documentAttributes.get('description') && $documentAttributes.get('description').trim().length() > 0 )
	
$documentAttributes.get('description')
#end

#set ( $_tabs = [] )
$_tabs.add( $_tabs.size(), ["/courses/partake/show_unit.vm?history=no&tab=1&name=${name}","#i18('site.section.presentation.outlineview')",'enabled'])
$_tabs.add( $_tabs.size(), ["/courses/partake/show_unit.vm?history=no&tab=2&name=${name}","#i18('courses.partake.unit.tab.info')",'enabled'])
#parse ('/_templates/forms/tabulator.vm')

#if ($tabSelect == '1' )
	#parse('/courses/partake/templates/documentation/_inc_documentation_structure.vm')
#elseif ($tabSelect == '2' )
    #parse('/courses/partake/_inc_unit_informations.vm')
#end

