Commit ec2301c48c3324185521d57e2a8b7814e8397c96
1 parent
230a6fbb
Exists in
master
and in
3 other branches
modified sidebar of list search
Showing
2 changed files
with
2 additions
and
23 deletions
Show diff stats
subjects/templates/subjects/list_search.html
@@ -13,28 +13,7 @@ | @@ -13,28 +13,7 @@ | ||
13 | 13 | ||
14 | {% endblock breadcrumbs %} | 14 | {% endblock breadcrumbs %} |
15 | 15 | ||
16 | - {% block sidebar %} | ||
17 | - <ul id="sidebar-menu"> | ||
18 | - <li class="item " id="subjects-link" data-toggle="tooltip" data-placement="right" title="{% trans "Subjects" %}"> | ||
19 | - <a href="{% url 'subjects:index' %}"> | ||
20 | - <i class="fa fa-graduation-cap" aria-hidden="true"></i> | ||
21 | - </a> | ||
22 | - </li> | ||
23 | - <li class="item" data-toggle="tooltip" data-placement="right" title="{% trans "Timeline" %}"> | ||
24 | - <i class="fa fa-list" aria-hidden="true" ></i> | ||
25 | - </li> | ||
26 | - <li class="item" data-toggle="tooltip" data-placement="right" title="{% trans "Messages" %}"> | ||
27 | - <i class="fa fa-envelope-o" aria-hidden="true"></i> | ||
28 | - </li> | ||
29 | - <li class="item" data-toggle="tooltip" data-placement="right" title="{% trans "Pendencias" %}"> | ||
30 | - <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> | ||
31 | - </li> | ||
32 | - <li class="item" data-toggle="tooltip" data-placement="right" title="{% trans "Analytics" %}"> | ||
33 | - <i class="fa fa-bar-chart" aria-hidden="true"></i> | ||
34 | - </li> | ||
35 | - </ul> | ||
36 | - {% endblock %} | ||
37 | - | 16 | + |
38 | {% block content %} | 17 | {% block content %} |
39 | 18 | ||
40 | {% if messages %} | 19 | {% if messages %} |
subjects/views.py
@@ -623,7 +623,7 @@ class SubjectSearchView(LoginRequiredMixin, LogMixin, ListView): | @@ -623,7 +623,7 @@ class SubjectSearchView(LoginRequiredMixin, LogMixin, ListView): | ||
623 | context['all'] = True | 623 | context['all'] = True |
624 | context['title'] = _('Subjects') | 624 | context['title'] = _('Subjects') |
625 | 625 | ||
626 | - context['subjects_menu_active'] = 'subjects_menu_active' | 626 | + context['subjects_menu_active'] = '' |
627 | 627 | ||
628 | self.log_context['search_for'] = self.tags | 628 | self.log_context['search_for'] = self.tags |
629 | super(SubjectSearchView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) | 629 | super(SubjectSearchView, self).createLog(self.request.user, self.log_component, self.log_action, self.log_resource, self.log_context) |