From 0a9bc8c2190f3a8a1d9e5b6a1546785ea65dc047 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Fri, 15 Sep 2017 17:22:33 +1000 Subject: [PATCH] feat(hal browser): improve readability of link collections --- vendor/hal-browser/browser.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vendor/hal-browser/browser.html b/vendor/hal-browser/browser.html index 6a386a5bd..8416cfc87 100644 --- a/vendor/hal-browser/browser.html +++ b/vendor/hal-browser/browser.html @@ -63,7 +63,8 @@

Links

<% if ($.isArray(obj)) { %> <% _.each(obj, function(link, i) { %> - <%= HAL.truncateIfUrl(rel) %> + <% tdStyle = i > 0 ? "border-top:none" : "" %> + <%= i === 0 ? HAL.truncateIfUrl(rel) : '' %> <%= link.title || '' %> <%= link.name ? 'name: ' + link.name : 'index: ' + i %>