Commit 61f2e659 authored by Alexandre Delanoë's avatar Alexandre Delanoë

Merge branch '343-dev-gargantext-navigation' of...

Merge branch '343-dev-gargantext-navigation' of ssh://gitlab.iscpif.fr:20022/gargantext/purescript-gargantext into dev-merge
parents a4e0f78d b4cc93d3
...@@ -123,7 +123,7 @@ folderViewMainCpt = here.component "folderViewMainCpt" cpt where ...@@ -123,7 +123,7 @@ folderViewMainCpt = here.component "folderViewMainCpt" cpt where
makeParentFolder linkHandlers Nothing _ _ true = [ H.button {className: "btn btn-primary", on: { click: \_ -> linkHandlers.goToRoute Home}} [ H.i { className: "fa fa-folder-open" } [] makeParentFolder linkHandlers Nothing _ _ true = [ H.button {className: "btn btn-primary", on: { click: \_ -> linkHandlers.goToRoute Home}} [ H.i { className: "fa fa-folder-open" } []
, H.br {} , H.br {}
, H.text ".."] ] , H.text ".."] ]
makeParentFolder linkHandlers Nothing _ true _ = [ H.button {className: "btn btn-primary", on: { click: \_ -> linkHandlers.goToPreviousPage } } [ H.i { className: "fa fa-folder-open" } [] makeParentFolder linkHandlers Nothing _ true _ = [ H.button {className: "btn btn-primary", on: { click: \_ -> linkHandlers.goToPreviousPage unit } } [ H.i { className: "fa fa-folder-open" } []
, H.br {} , H.br {}
, H.text ".."] ] , H.text ".."] ]
makeParentFolder _ Nothing _ _ _ = [] makeParentFolder _ Nothing _ _ _ = []
...@@ -250,7 +250,7 @@ backButtonCpt = R.hooksComponent "backButton" cpt where ...@@ -250,7 +250,7 @@ backButtonCpt = R.hooksComponent "backButton" cpt where
pure $ pure $
H.button { H.button {
className: "btn btn-primary" className: "btn btn-primary"
, on: { click: \_ -> goToPreviousPage } , on: { click: \_ -> goToPreviousPage unit }
} [ } [
H.i { className: "fa fa-arrow-left", title: "Previous view"} [] H.i { className: "fa fa-arrow-left", title: "Previous view"} []
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment