client/templates/nodeeditor_readonly.html
author ymh <ymh.work@gmail.com>
Sat, 25 Apr 2015 04:37:06 +0200
changeset 434 0d5998b32a7c
parent 420 22393cbf4467
child 468 364c367df7fc
child 474 4f9aa2f4af8c
permissions -rw-r--r--
clean, and finalize lodash migration

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