Commit 9021fd312e59acd8ec20f0d657e14d108579f49e
1 parent
04e68108
Exists in
master
and in
3 other branches
criando o botão de web conferencia dentro do topico
Showing
1 changed file
with
6 additions
and
5 deletions
Show diff stats
topics/templates/topics/list.html
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | <div class="panel-group subject-group" id="topics-accordion" role="tablist" aria-multiselectable="true"> | 6 | <div class="panel-group subject-group" id="topics-accordion" role="tablist" aria-multiselectable="true"> |
7 | <input type="hidden" class="url_order" value="{% url 'topics:update_order' %}" /> | 7 | <input type="hidden" class="url_order" value="{% url 'topics:update_order' %}" /> |
8 | <input type="hidden" class="subs_url" value="{% url 'subjects:view' subject.slug %}" /> | 8 | <input type="hidden" class="subs_url" value="{% url 'subjects:view' subject.slug %}" /> |
9 | - | 9 | + |
10 | {% for topic in subject.topic_subject.all %} | 10 | {% for topic in subject.topic_subject.all %} |
11 | {% if not topic.repository and topic.visible or has_subject_permissions %} | 11 | {% if not topic.repository and topic.visible or has_subject_permissions %} |
12 | <div class="panel panel-info {% if not topic.visible or topic.repository %} topic-panel-invisible {% else %} topic-panel {% endif %}"> | 12 | <div class="panel panel-info {% if not topic.visible or topic.repository %} topic-panel-invisible {% else %} topic-panel {% endif %}"> |
@@ -21,7 +21,7 @@ | @@ -21,7 +21,7 @@ | ||
21 | 21 | ||
22 | {% if has_subject_permissions %} | 22 | {% if has_subject_permissions %} |
23 | <div class="col-md-5 pull-right category-card-items"> | 23 | <div class="col-md-5 pull-right category-card-items"> |
24 | - <a href="" id="moreActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | 24 | + <a href="" id="moreActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> |
25 | <i class="fa fa-ellipsis-v" aria-hidden="true"></i> | 25 | <i class="fa fa-ellipsis-v" aria-hidden="true"></i> |
26 | </a> | 26 | </a> |
27 | <ul class="dropdown-menu pull-right" aria-labelledby="moreActions"> | 27 | <ul class="dropdown-menu pull-right" aria-labelledby="moreActions"> |
@@ -40,7 +40,7 @@ | @@ -40,7 +40,7 @@ | ||
40 | 40 | ||
41 | <input type="hidden" class="log_url" value="{% url 'topics:view_log' topic.id %}" /> | 41 | <input type="hidden" class="log_url" value="{% url 'topics:view_log' topic.id %}" /> |
42 | <input type="hidden" class="log_id" value="" /> | 42 | <input type="hidden" class="log_id" value="" /> |
43 | - | 43 | + |
44 | {% autoescape off %} | 44 | {% autoescape off %} |
45 | {{ topic.description }} | 45 | {{ topic.description }} |
46 | {% endautoescape %} | 46 | {% endautoescape %} |
@@ -60,7 +60,8 @@ | @@ -60,7 +60,8 @@ | ||
60 | <li><a href="{% url 'goals:create' topic.slug %}"><i class="fa fa-line-chart"></i> {% trans 'Topic Goals' %}</a></li> | 60 | <li><a href="{% url 'goals:create' topic.slug %}"><i class="fa fa-line-chart"></i> {% trans 'Topic Goals' %}</a></li> |
61 | <li><a href="{% url 'webpages:create' topic.slug %}"><i class="fa fa-file-code-o"></i> {% trans 'Webpage' %}</a></li> | 61 | <li><a href="{% url 'webpages:create' topic.slug %}"><i class="fa fa-file-code-o"></i> {% trans 'Webpage' %}</a></li> |
62 | <li><a href="#"><i class="fa fa-question-circle-o"></i> {% trans 'Questionary' %}</a></li> | 62 | <li><a href="#"><i class="fa fa-question-circle-o"></i> {% trans 'Questionary' %}</a></li> |
63 | - | 63 | + <li><a href="{% url 'webconferences:create' topic.slug %}"><i class="fa fa-desktop"></i> {% trans 'Web Conference' %}</a></li> |
64 | + | ||
64 | </ul> | 65 | </ul> |
65 | </div> | 66 | </div> |
66 | </div> | 67 | </div> |
@@ -73,4 +74,4 @@ | @@ -73,4 +74,4 @@ | ||
73 | {% endfor %} | 74 | {% endfor %} |
74 | </div> | 75 | </div> |
75 | 76 | ||
76 | -<script type="text/javascript" src="{% static 'js/topics.js' %}"></script> | ||
77 | \ No newline at end of file | 77 | \ No newline at end of file |
78 | +<script type="text/javascript" src="{% static 'js/topics.js' %}"></script> |