The concerns of the server and client side are now separated; there's plenty of work still to be done on both but it's clear what belongs where.
This commit is contained in:
Simon Brooke 2017-03-26 18:40:01 +01:00
parent 560938e6ae
commit 28f5a3f10c
19 changed files with 4 additions and 758 deletions

View file

@ -26,7 +26,6 @@
;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; The pattern from the re-com demo (https://github.com/Day8/re-com) is to have
;;; one source file/namespace per view. Each namespace contains a function 'panel'
;;; whose output is an enlive-style specification of the view to be redered.

View file

@ -1,5 +1,6 @@
(ns youyesyet.views.issue
(:require [re-frame.core :refer [reg-sub subscribe]]
[markdown.core :refer [md->html]]
[youyesyet.ui-utils :as ui]
[youyesyet.views.issues :as issues]))
@ -41,7 +42,8 @@
[:h1 issue]
[:div.container {:id "main-container"}
[:div {:id "issue"}
[:div {:id "issue-text"}
(issues issue)]]
[:div {:id "issue-text"
:dangerouslySetInnerHTML
{:__html (md->html (issues issue))}}]]
(ui/big-link "Request call" "#/followup")
(ui/back-link)]]))