client/templates/nodeeditor_readonly.html
changeset 434 0d5998b32a7c
parent 420 22393cbf4467
child 468 364c367df7fc
child 474 4f9aa2f4af8c
equal deleted inserted replaced
433:e457ec945e50 434:0d5998b32a7c
     1 <h2>
     1 <h2>
     2 	<span class="Rk-CloseX">&times;</span>
     2     <span class="Rk-CloseX">&times;</span>
     3 	<% if (options.show_node_tooltip_color) { %>
     3     <% if (options.show_node_tooltip_color) { %>
     4 		<span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
     4         <span class="Rk-UserColor" style="background: <%-node.color%>;"></span>
     5 	<% } %>
     5     <% } %>
     6 	<span class="Rk-Display-Title">
     6     <span class="Rk-Display-Title">
     7 		<% if (node.uri) { %>
     7         <% if (node.uri) { %>
     8 			<a href="<%-node.uri%>" target="_blank">
     8             <a href="<%-node.uri%>" target="_blank">
     9 		<% } %>
     9         <% } %>
    10 		<%-node.title%>
    10         <%-node.title%>
    11 		<% if (node.uri) { %></a><% } %>
    11         <% if (node.uri) { %></a><% } %>
    12 	</span>
    12     </span>
    13 </h2>
    13 </h2>
    14 <% if (node.uri && options.show_node_tooltip_uri) { %>
    14 <% if (node.uri && options.show_node_tooltip_uri) { %>
    15 	<p class="Rk-Display-URI">
    15     <p class="Rk-Display-URI">
    16 		<a href="<%-node.uri%>" target="_blank"><%-node.short_uri%></a>
    16         <a href="<%-node.uri%>" target="_blank"><%-node.short_uri%></a>
    17 	</p>
    17     </p>
    18 <% } %> <% if (options.show_node_tooltip_description) { %>
    18 <% } %> <% if (options.show_node_tooltip_description) { %>
    19 	<p class="Rk-Display-Description"><%-node.description%></p>
    19     <p class="Rk-Display-Description"><%-node.description%></p>
    20 <% } %> <% if (node.image && options.show_node_tooltip_image) { %>
    20 <% } %> <% if (node.image && options.show_node_tooltip_image) { %>
    21 	<img class="Rk-Display-ImgPreview" src="<%-node.image%>" />
    21     <img class="Rk-Display-ImgPreview" src="<%-node.image%>" />
    22 <% } %> <% if (node.has_creator && options.show_node_tooltip_creator) { %>
    22 <% } %> <% if (node.has_creator && options.show_node_tooltip_creator) { %>
    23 	<p>
    23     <p>
    24 		<span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
    24         <span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
    25 		<span class="Rk-UserColor" style="background: <%-node.created_by_color%>;"></span>
    25         <span class="Rk-UserColor" style="background: <%-node.created_by_color%>;"></span>
    26 		<%- shortenText(node.created_by_title, 25) %>
    26         <%- shortenText(node.created_by_title, 25) %>
    27 	</p>
    27     </p>
    28 <% } %>
    28 <% } %>