Commit aedc575726c1cd93ab416903a55913a75d0e2235
1 parent
46745519
Exists in
master
and in
5 other branches
added create file and link support on edit topic #234
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
courses/templates/subject/form_view_teacher.html
... | ... | @@ -61,8 +61,8 @@ |
61 | 61 | <div class="dropdown"> |
62 | 62 | <a href="#" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-plus-circle fa-lg" aria-hidden="true"></i></a> |
63 | 63 | <ul class="dropdown-menu" aria-labelledby="dLabel"> |
64 | - <li><a href="javascript:modal.get('{% url 'course:links:create_link' topic.slug %}', '#createLinksModal','#divModalLink') ">{% trans 'Create a Link' %}</a></li> | |
65 | - <li><a href="javascript:modal.get('{% url 'course:file:create_file' topic.slug %}', '#fileModal', '#divModalFile')">{% trans "Create a file" %}</a></li> | |
64 | + <li><a href="javascript:get_modal_link('{% url 'course:links:create_link' topic.slug %}', '#createLinksModal','#divModalLink') ">{% trans 'Create a Link' %}</a></li> | |
65 | + <li><a href="javascript:get_modal_file('{% url 'course:file:create_file' topic.slug %}', '#fileModal', '#divModalFile')">{% trans "Create a file" %}</a></li> | |
66 | 66 | </ul> |
67 | 67 | </div> |
68 | 68 | </div> | ... | ... |