Commit 9021fd312e59acd8ec20f0d657e14d108579f49e

Authored by Jailson Dias
1 parent 04e68108

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 6 <div class="panel-group subject-group" id="topics-accordion" role="tablist" aria-multiselectable="true">
7 7 <input type="hidden" class="url_order" value="{% url 'topics:update_order' %}" />
8 8 <input type="hidden" class="subs_url" value="{% url 'subjects:view' subject.slug %}" />
9   -
  9 +
10 10 {% for topic in subject.topic_subject.all %}
11 11 {% if not topic.repository and topic.visible or has_subject_permissions %}
12 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 21  
22 22 {% if has_subject_permissions %}
23 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 25 <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
26 26 </a>
27 27 <ul class="dropdown-menu pull-right" aria-labelledby="moreActions">
... ... @@ -40,7 +40,7 @@
40 40  
41 41 <input type="hidden" class="log_url" value="{% url 'topics:view_log' topic.id %}" />
42 42 <input type="hidden" class="log_id" value="" />
43   -
  43 +
44 44 {% autoescape off %}
45 45 {{ topic.description }}
46 46 {% endautoescape %}
... ... @@ -60,7 +60,8 @@
60 60 <li><a href="{% url 'goals:create' topic.slug %}"><i class="fa fa-line-chart"></i> {% trans 'Topic Goals' %}</a></li>
61 61 <li><a href="{% url 'webpages:create' topic.slug %}"><i class="fa fa-file-code-o"></i> {% trans 'Webpage' %}</a></li>
62 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 65 </ul>
65 66 </div>
66 67 </div>
... ... @@ -73,4 +74,4 @@
73 74 {% endfor %}
74 75 </div>
75 76  
76   -<script type="text/javascript" src="{% static 'js/topics.js' %}"></script>
77 77 \ No newline at end of file
  78 +<script type="text/javascript" src="{% static 'js/topics.js' %}"></script>
... ...