Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
bf109158
Commit
bf109158
authored
Jul 30, 2019
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FacetsTable] fix document link
parent
add63687
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
FacetsTable.purs
src/Gargantext/Components/FacetsTable.purs
+3
-2
No files found.
src/Gargantext/Components/FacetsTable.purs
View file @
bf109158
...
@@ -26,11 +26,12 @@ import React as React
...
@@ -26,11 +26,12 @@ import React as React
import React (ReactClass, ReactElement, Children)
import React (ReactClass, ReactElement, Children)
------------------------------------------------------------------------
------------------------------------------------------------------------
import Gargantext.Prelude
import Gargantext.Prelude
import Gargantext.Config (End(..), NodeType(..), OrderBy(..), Path(..), TabType, toUrl)
import Gargantext.Config (End(..), NodeType(..), OrderBy(..), Path(..), TabType, toUrl
, toLink
)
import Gargantext.Config.REST (put, post, deleteWithBody)
import Gargantext.Config.REST (put, post, deleteWithBody)
import Gargantext.Components.Loader as Loader
import Gargantext.Components.Loader as Loader
import Gargantext.Components.Search.Types (Category(..), CategoryQuery(..), favCategory, trashCategory, decodeCategory, putCategories)
import Gargantext.Components.Search.Types (Category(..), CategoryQuery(..), favCategory, trashCategory, decodeCategory, putCategories)
import Gargantext.Components.Table as T
import Gargantext.Components.Table as T
import Gargantext.Router as Router
import Gargantext.Utils (toggleSet)
import Gargantext.Utils (toggleSet)
import Gargantext.Utils.DecodeMaybe ((.|))
import Gargantext.Utils.DecodeMaybe ((.|))
import React.DOM (a, br', button, div, i, input, p, text, span)
import React.DOM (a, br', button, div, i, input, p, text, span)
...
@@ -387,7 +388,7 @@ renderPage loaderDispatch { totalRecords, dispatch, container
...
@@ -387,7 +388,7 @@ renderPage loaderDispatch { totalRecords, dispatch, container
]
]
-- TODO show date: Year-Month-Day only
-- TODO show date: Year-Month-Day only
, div strikeIfDeleted [text date]
, div strikeIfDeleted [text date]
, a (strikeIfDeleted <> [ href
(toUrl Front (ListDocument (Just listId)) (Just id))
, a (strikeIfDeleted <> [ href
$ toLink $ Router.Document listId id
, target "blank"])
, target "blank"])
[ text title ]
[ text title ]
, div strikeIfDeleted [text source]
, div strikeIfDeleted [text source]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment