From 271df58d2c3422f1d09f4f0a23a6a26928d0d58c Mon Sep 17 00:00:00 2001 From: Gustavo Date: Mon, 9 Oct 2017 23:30:42 -0300 Subject: [PATCH] Included javascript code to fix breadcrumb bug --- subjects/templates/subjects/view.html | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) mode change 100644 => 100755 subjects/templates/subjects/view.html diff --git a/subjects/templates/subjects/view.html b/subjects/templates/subjects/view.html old mode 100644 new mode 100755 index 10b1e02..25457ad --- a/subjects/templates/subjects/view.html +++ b/subjects/templates/subjects/view.html @@ -6,8 +6,23 @@ {% block javascript%} {{ block.super }} + {% endblock%} - {% block breadcrumbs %} {{ block.super }} {% breadcrumb subject.category 'subjects:cat_view' subject.category.slug %} @@ -83,7 +98,7 @@ {% endif %} {% include 'topics/list.html' with subject=subject %} - +
@@ -163,7 +178,7 @@ var popover = $(".popover.fade.in"), buttons = popover.parent().find('a'), close = popover.parent().find('.close:visible'); - + popover.animate({ 'max-width': '330px', }, 0); @@ -178,7 +193,7 @@ close.on("click", function () { popover.popover('hide'); - }); + }); buttons.on("click", function () { popover.popover('hide'); @@ -189,7 +204,7 @@ $('#participants').on('click', function(){ var $this = $(this), list = $this.parent().find(".participants-list"); - + if ($this.hasClass('open')) { $this.animate({ right : '0px' -- libgit2 0.21.2