# HG changeset patch # User rougeronj # Date 1434116486 -7200 # Node ID be510a7fc5acd16e6c21e9d193fa9ea908138cf7 # Parent d40fac25b36acdee41cadeb24086c8e8a5c41be3 send the id to the template and construct an proper url for each node passing the id to the parameter idNode diff -r d40fac25b36a -r be510a7fc5ac client/js/renderer/nodeeditor.js --- a/client/js/renderer/nodeeditor.js Fri Jun 12 15:14:48 2015 +0200 +++ b/client/js/renderer/nodeeditor.js Fri Jun 12 15:41:26 2015 +0200 @@ -25,6 +25,7 @@ this.editor_$ .html(_template({ node: { + _id: _model.get("_id"), has_creator: !!_model.get("created_by"), title: _model.get("title"), uri: _model.get("uri"), diff -r d40fac25b36a -r be510a7fc5ac client/templates/nodeeditor_readonly.html --- a/client/templates/nodeeditor_readonly.html Fri Jun 12 15:14:48 2015 +0200 +++ b/client/templates/nodeeditor_readonly.html Fri Jun 12 15:41:26 2015 +0200 @@ -26,4 +26,4 @@ <%- shortenText(node.created_by_title, 25) %>
<% } %> - <%-renkan.translate("Link to the node")%> + <%-renkan.translate("Link to the node")%>