File tree Expand file tree Collapse file tree
frontend/templates/frontend/course Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66< div class ="float-right text-right ">
77 < div class ="dropdown show ">
88 < button class ="btn btn-primary dropdown-toggle " type ="button " id ="dropdownMenuButton " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
9- {% trans "Actions " %}
9+ {% trans "Add Content " %}
1010 </ button >
1111 < div class ="dropdown-menu dropdown-menu-right " aria-labelledby ="dropdownMenuLink ">
1212 {% if user.is_authenticated %}
1313 < a class ="dropdown-item "
1414 href ="{% url 'frontend:content-add' course_id=course.id topic_id=topic_replace.id type='Image' %} "> {% fa5_icon 'camera' 'fas' %}
15- add image</ a >
15+ {% trans " image" %} </ a >
1616 < a class ="dropdown-item "
1717 href ="{% url 'frontend:content-add' course_id=course.id topic_id=topic_replace.id type='YouTubeVideo' %} "> {% fa5_icon 'video' 'fas' %}
18- add youtube video</ a >
18+ {% trans " youtube video" %} </ a >
1919 < a class ="dropdown-item "
2020 href =""> {% fa5_icon 'file-pdf' 'fas' %}
21- add pdf file</ a >
21+ {% trans " pdf file" %} </ a >
2222 < a class ="dropdown-item "
2323 href =""> {% fa5_icon 'file' 'fas' %}
24- add markdown file</ a >
24+ {% trans " markdown file" %} </ a >
2525 {% endif %}
2626
2727 </ div >
You can’t perform that action at this time.
0 commit comments