client/templates/nodeeditor_readonly.html
author rougeronj
Sat, 18 Apr 2015 17:14:27 +0200
changeset 420 22393cbf4467
child 434 0d5998b32a7c
permissions -rw-r--r--
export the templates of nodeeditor to html files

<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>
<% } %>