reverse ci stuff

integration-tests
Josha von Gizycki 6 years ago
parent 9ab8680dd8
commit dd1cfe068d

@ -61,7 +61,7 @@
[:div {:class (str "instance-content " [:div {:class (str "instance-content "
"attr-type-" type)} "attr-type-" type)}
(render-fn (:value prop))])) (render-fn (:value prop))]))
(when (seq? (:links-out instance)) (when-not (empty? (:links-out instance))
[:section.links [:section.links
[:h2 "Outgoing Links"] [:h2 "Outgoing Links"]
[:table [:table
@ -94,7 +94,7 @@
(hform/form-to [:delete (path :instance-delete instance)] (hform/form-to [:delete (path :instance-delete instance)]
(anti-forgery-field) (anti-forgery-field)
(view/delete-btn)) (view/delete-btn))
(when (seq? (:links-out instance)) (when-not (empty? (:links-out instance))
[:section.links [:section.links
[:h2 "Outgoing Links"] [:h2 "Outgoing Links"]
[:table [:table

Loading…
Cancel
Save