From 9119372e9fef8cab0e212f02685c8715a3307539 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 24 Nov 2024 23:00:32 +0100 Subject: [PATCH] minor adjustements in ann tooltip --- .../templates/webclient/annotations/comments_underscore.html | 4 ++-- .../templates/webclient/annotations/fileanns_underscore.html | 4 ++-- .../templates/webclient/annotations/tags_underscore.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/omeroweb/webclient/templates/webclient/annotations/comments_underscore.html b/omeroweb/webclient/templates/webclient/annotations/comments_underscore.html index 32f523d574..a2956f163f 100644 --- a/omeroweb/webclient/templates/webclient/annotations/comments_underscore.html +++ b/omeroweb/webclient/templates/webclient/annotations/comments_underscore.html @@ -48,7 +48,7 @@
  <% if (idx < 20) { %> - - <%- link.parent.class %> <%- link.parent.id %>: <% print(_.escape(link.parent.name).slice(0, 28)) %> + <%- link.parent.class %> <%- link.parent.id %>: <% print(_.escape(link.parent.name).slice(0, 28)) %> <% if (link.owner.id !== userId){ print("(" + link.owner.firstName.slice(0, 1) + " " + _.escape(link.owner.lastName) + ")") } %> @@ -71,7 +71,7 @@ <% if (isInherited && ann.links) { %> Inherited by:
<% _.each(ann.childNames, function(cname) { %> -  - <%- cname.slice(0, 28) %>
+   <%- cname.slice(0, 28) %>
<% }) %> <% } %> diff --git a/omeroweb/webclient/templates/webclient/annotations/fileanns_underscore.html b/omeroweb/webclient/templates/webclient/annotations/fileanns_underscore.html index 78fb824bb2..1577257c0d 100644 --- a/omeroweb/webclient/templates/webclient/annotations/fileanns_underscore.html +++ b/omeroweb/webclient/templates/webclient/annotations/fileanns_underscore.html @@ -28,7 +28,7 @@
  <% if (idx < 20) { %> - - <%- link.parent.class %> <%- link.parent.id %>: <% print(_.escape(link.parent.name).slice(0, 28)) %> + <%- link.parent.class %> <%- link.parent.id %>: <% print(_.escape(link.parent.name).slice(0, 28)) %> <% if (link.owner.id !== userId){ print("(" + link.owner.firstName.slice(0, 1) + " " + _.escape(link.owner.lastName) + ")") } %> @@ -54,7 +54,7 @@ <% if (isInherited && ann.links) { %> Inherited by:
<% _.each(ann.childNames, function(cname) { %> -  - <%- cname.slice(0, 28) %>
+   <%- cname.slice(0, 28) %>
<% }) %> <% } %> diff --git a/omeroweb/webclient/templates/webclient/annotations/tags_underscore.html b/omeroweb/webclient/templates/webclient/annotations/tags_underscore.html index 71b61b4d4c..e82886c3ab 100644 --- a/omeroweb/webclient/templates/webclient/annotations/tags_underscore.html +++ b/omeroweb/webclient/templates/webclient/annotations/tags_underscore.html @@ -32,7 +32,7 @@
  <% if (idx < 20) { %> - - <%- link.parent.class %> <%- link.parent.id %>: <%- link.parent.name.slice(0, 28) %> + <%- link.parent.class %> <%- link.parent.id %>: <%- link.parent.name.slice(0, 28) %> <% if (link.owner.id !== userId) { print("(" + link.owner.firstName.slice(0, 1) + " " + _.escape(link.owner.lastName) + ")") } %> @@ -52,7 +52,7 @@ <% if (isInherited && tag.links) { %> Inherited by:
<% _.each(tag.childNames, function(cname) { %> -  - <%- cname.slice(0, 28) %>
+   <%- cname.slice(0, 28) %>
<% }) %> <% } %>