Commits

Robert Lehmann  committed 14b7471

Fixed sidebar panel name.

  • Participants
  • Parent commits 622af70

Comments (0)

Files changed (2)

File sphinx/themes/basic/static/sidebar.js

-$(document).ready(function() {
-  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
-    $('a[title=addsidebar]').click(function(event) {
-      event.preventDefault();
-      window.sidebar.addPanel("Python Sidebar", this.href, "");
-    });
-  }
-});

File sphinx/themes/basic/static/sidebar.js_t

+$(document).ready(function() {
+  if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function")) {
+    $('a[title=addsidebar]').click(function(event) {
+      event.preventDefault();
+      window.sidebar.addPanel("{{ project }} Sidebar", this.href, "");
+    });
+  }
+});