integration-tests
Josha von Gizycki 6 years ago
parent 405e0a96ed
commit 79f7750f73

@ -18,7 +18,7 @@
:exclusions [commons-codec]] :exclusions [commons-codec]]
[clj-time "0.15.1"] [clj-time "0.15.1"]
[markdown-clj "1.0.5"]] [markdown-clj "1.0.6"]]
:profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"] :profiles {:dev {:dependencies [[javax.servlet/servlet-api "2.5"]
[ring/ring-mock "0.3.2"]] [ring/ring-mock "0.3.2"]]

@ -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-not (empty? (:links-out instance)) (when (seq? (: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-not (empty? (:links-out instance)) (when (seq? (:links-out instance))
[:section.links [:section.links
[:h2 "Outgoing Links"] [:h2 "Outgoing Links"]
[:table [:table

Loading…
Cancel
Save