special label for empty link names

integration-tests
Josha von Gizycki 6 years ago
parent 769a8c8cd3
commit 7bdb38e219

@ -71,9 +71,12 @@
[:th "Schema"]
[:th "Created"]]]
[:tbody
(for [{:keys [link target schema]} (:links-out instance)]
(for [{:keys [link target schema]} (:links-out instance)
:let [name (:name link)
empty (empty? name)
name (if empty [:i "empty"] (h name))]]
[:tr
[:td (h (:name link))]
[:td name]
[:td (h (:name target))]
[:td (h (:name schema))]
[:td (prettify-dt (:created_at link))]])]]])]))

Loading…
Cancel
Save