changeset 22:b709419d4235

show id for author in detail panel.
author root@ismi-dev.rz-berlin.mpg.de
date Fri, 09 Oct 2015 15:12:34 +0200
parents d964d9a23837
children 80010fb9dbce
files ismi-python-neo4jrestclient/static/commentaries_authors3.html
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ismi-python-neo4jrestclient/static/commentaries_authors3.html	Fri Oct 09 15:01:20 2015 +0200
+++ b/ismi-python-neo4jrestclient/static/commentaries_authors3.html	Fri Oct 09 15:12:34 2015 +0200
@@ -114,7 +114,7 @@
        $(this).next().slideToggle();
     });
     // provide search and graph
-    backendApiPrefix = "";
+    backendApiPrefix = "/netvis-ismi";
     searchApi = {};
     $(function () {
         function showText(text_id) {
@@ -123,7 +123,7 @@
                         if (!data) return;
                         $("#title").text("Title: "+data.title);
                         var $list = $("#info").empty();
-                        $list.append($("<li> Author: " + data.author.label + "</li>")
+                        $list.append($("<li>Author: " + data.author.label + " [" + data.author.ismi_id + "]</li>")
                                 .click(function() { 
                                     search(data.author.ismi_id, true); 
                                     }));
@@ -222,7 +222,7 @@
                     .attr("class","arrowHead");
 
     // load graph
-    d3.json(backendApiPrefix+"/graph?limit=10", function(error, graph) {
+    d3.json(backendApiPrefix+"/graph?limit=1000", function(error, graph) {
 		if (error) return;
 		
         force.nodes(graph.nodes).links(graph.links).start();