equal
deleted
inserted
replaced
|
1 <h2> |
|
2 <span class="Rk-CloseX">×</span> |
|
3 <% if (options.show_node_tooltip_color) { %> |
|
4 <span class="Rk-UserColor" style="background: <%-node.color%>;"></span> |
|
5 <% } %> |
|
6 <span class="Rk-Display-Title"> |
|
7 <% if (node.uri) { %> |
|
8 <a href="<%-node.uri%>" target="_blank"> |
|
9 <% } %> |
|
10 <%=node.title%> |
|
11 <% if (node.uri) { %></a><% } %> |
|
12 </span> |
|
13 </h2> |
|
14 <% if (node.uri && options.show_node_tooltip_uri) { |
|
15 var youtube_id = get_youtube_id(node.uri); |
|
16 if(youtube_id) { |
|
17 %> |
|
18 <iframe width="255" height="143" src="https://www.youtube.com/embed/<%=youtube_id%>" frameborder="0"></iframe> |
|
19 <% } |
|
20 else { %> |
|
21 <p>The node url is not a youtube video</p> |
|
22 <% } |
|
23 } |
|
24 %> |
|
25 <a href="#?idnode=<%-node._id%>"><%-renkan.translate("Link to the node")%></a> |