Commit 4cb817d4873b47040cbbafc061ad08fafd72d37a
1 parent
8a5516dc
Exists in
master
and in
5 other branches
Changing create forum button to link in dropdown menu
Showing
1 changed file
with
3 additions
and
8 deletions
Show diff stats
courses/templates/subject/form_view_teacher.html
... | ... | @@ -70,22 +70,17 @@ |
70 | 70 | <div class="dropdown"> |
71 | 71 | <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> |
72 | 72 | <ul class="dropdown-menu" aria-labelledby="dLabel"> |
73 | - <li>Qualquer coisa</li> | |
73 | + <li><a href="javascript:createForum('{% url 'course:forum:create' %}', '{{ topic.id }}')">{% trans 'Create Forum' %}<div class="ripple-container"><div class="ripple ripple-on ripple-out" style="left: 33.5312px; top: 11px; background-color: rgb(0, 150, 136); transform: scale(20);"></div></div></a></li> | |
74 | 74 | </ul> |
75 | 75 | </div> |
76 | 76 | </div> |
77 | 77 | <ul> |
78 | 78 | <li><i class="fa fa-file-text" aria-hidden="true"></i> <a href="#" data-toggle="modal" data-target="#ActivityModal">Activitie 1</a></li> |
79 | - </ul> | |
80 | - </div> | |
81 | - <div class="col-xs-4 col-md-4"> | |
82 | - <div class="panel-body"> | |
83 | - <button class="btn btn-primary btn-raised" onclick="createForum('{% url 'course:forum:create' %}', '{{ topic.id }}')">{% trans '+ Create Forum' %}</button> | |
84 | 79 | <div class="foruns_list"> |
85 | 80 | {% list_topic_foruns request topic %} |
86 | 81 | </div> |
87 | - </div> | |
88 | - </div> | |
82 | + </ul> | |
83 | + </div> | |
89 | 84 | {% list_topic_poll request topic %} |
90 | 85 | </div> |
91 | 86 | </div> | ... | ... |