client/templates/nodeeditor_readonly.html
changeset 420 22393cbf4467
child 434 0d5998b32a7c
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/templates/nodeeditor_readonly.html	Sat Apr 18 17:14:27 2015 +0200
@@ -0,0 +1,28 @@
+<h2>
+	<span class="Rk-CloseX">&times;</span>
+	<% if (options.show_node_tooltip_color) { %>
+		<span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
+	<% } %>
+	<span class="Rk-Display-Title">
+		<% if (node.uri) { %>
+			<a href="<%-node.uri%>" target="_blank">
+		<% } %>
+		<%-node.title%>
+		<% if (node.uri) { %></a><% } %>
+	</span>
+</h2>
+<% if (node.uri && options.show_node_tooltip_uri) { %>
+	<p class="Rk-Display-URI">
+		<a href="<%-node.uri%>" target="_blank"><%-node.short_uri%></a>
+	</p>
+<% } %> <% if (options.show_node_tooltip_description) { %>
+	<p class="Rk-Display-Description"><%-node.description%></p>
+<% } %> <% if (node.image && options.show_node_tooltip_image) { %>
+	<img class="Rk-Display-ImgPreview" src="<%-node.image%>" />
+<% } %> <% if (node.has_creator && options.show_node_tooltip_creator) { %>
+	<p>
+		<span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
+		<span class="Rk-UserColor" style="background: <%-node.created_by_color%>;"></span>
+		<%- shortenText(node.created_by_title, 25) %>
+	</p>
+<% } %>