client/templates/edgeeditor_readonly.html
changeset 434 0d5998b32a7c
parent 419 4f458e6d32bd
child 468 364c367df7fc
--- a/client/templates/edgeeditor_readonly.html	Sat Apr 25 04:13:53 2015 +0200
+++ b/client/templates/edgeeditor_readonly.html	Sat Apr 25 04:37:06 2015 +0200
@@ -1,38 +1,38 @@
 <h2>
-	<span class="Rk-CloseX">&times;</span>
-	<% if (options.show_edge_tooltip_color) { %>
-		<span class="Rk-UserColor" style="background: <%- edge.color %>;"></span>
-	<% } %>
-	<span class="Rk-Display-Title">
-		<% if (edge.uri) { %>
-			<a href="<%-edge.uri%>" target="_blank">
-		<% } %>
-		<%-edge.title%>
-		<% if (edge.uri) { %> </a> <% } %>
-	</span>
+    <span class="Rk-CloseX">&times;</span>
+    <% if (options.show_edge_tooltip_color) { %>
+        <span class="Rk-UserColor" style="background: <%- edge.color %>;"></span>
+    <% } %>
+    <span class="Rk-Display-Title">
+        <% if (edge.uri) { %>
+            <a href="<%-edge.uri%>" target="_blank">
+        <% } %>
+        <%-edge.title%>
+        <% if (edge.uri) { %> </a> <% } %>
+    </span>
 </h2>
 <% if (options.show_edge_tooltip_uri && edge.uri) { %>
-	<p class="Rk-Display-URI">
-		<a href="<%-edge.uri%>" target="_blank"><%- edge.short_uri %></a>
-	</p>
+    <p class="Rk-Display-URI">
+        <a href="<%-edge.uri%>" target="_blank"><%- edge.short_uri %></a>
+    </p>
 <% } %>
 <p><%-edge.description%></p>
 <% if (options.show_edge_tooltip_nodes) { %>
-	<p>
-		<span class="Rk-Editor-Label"><%-renkan.translate("From:")%></span>
-		<span class="Rk-UserColor" style="background: <%- edge.from_color %>;"></span>
-		<%- shortenText(edge.from_title, 25) %>
-	</p>
-	<p>
-		<span class="Rk-Editor-Label"><%-renkan.translate("To:")%></span>
-		<span class="Rk-UserColor" style="background: <%- edge.to_color %>;"></span>
-		<%- shortenText(edge.to_title, 25) %>
-	</p>
+    <p>
+        <span class="Rk-Editor-Label"><%-renkan.translate("From:")%></span>
+        <span class="Rk-UserColor" style="background: <%- edge.from_color %>;"></span>
+        <%- shortenText(edge.from_title, 25) %>
+    </p>
+    <p>
+        <span class="Rk-Editor-Label"><%-renkan.translate("To:")%></span>
+        <span class="Rk-UserColor" style="background: <%- edge.to_color %>;"></span>
+        <%- shortenText(edge.to_title, 25) %>
+    </p>
 <% } %>
 <% if (options.show_edge_tooltip_creator && edge.has_creator) { %>
-	<p>
-		<span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
-		<span class="Rk-UserColor" style="background: <%- edge.created_by_color %>;"></span>
-		<%- shortenText(edge.created_by_title, 25) %>
-	</p>
+    <p>
+        <span class="Rk-Editor-Label"><%-renkan.translate("Created by:")%></span>
+        <span class="Rk-UserColor" style="background: <%- edge.created_by_color %>;"></span>
+        <%- shortenText(edge.created_by_title, 25) %>
+    </p>
 <% } %>