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
152
Issues
152
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
gargantext
purescript-gargantext
Commits
53f4e49e
Commit
53f4e49e
authored
Dec 29, 2023
by
Fabien Manière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't display ', ' prefix on authors in a document
parent
c13a7aff
Pipeline
#5463
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
Layout.purs
src/Gargantext/Components/Document/Layout.purs
+5
-1
No files found.
src/Gargantext/Components/Document/Layout.purs
View file @
53f4e49e
...
@@ -156,6 +156,10 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
...
@@ -156,6 +156,10 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
-- here.log2 "[setTermList] calling reload" reload'
-- here.log2 "[setTermList] calling reload" reload'
-- T2.reload reload
-- T2.reload reload
authors' = fromMaybe "" $ do
authors <- doc.authors
String.stripPrefix (String.Pattern ", ") authors
hasAbstract = maybe false (not String.null) doc.abstract
hasAbstract = maybe false (not String.null) doc.abstract
annotate text = AnnotatedField.annotatedField
annotate text = AnnotatedField.annotatedField
...
@@ -296,7 +300,7 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
...
@@ -296,7 +300,7 @@ layoutWithContextNgramsCpt = here.component "layoutWithContextNgrams" cpt where
-- btnSeeMore "title"
-- btnSeeMore "title"
]
]
,
,
R2.fromMaybe
doc.authors
\authors ->
R2.fromMaybe
(Just authors')
\authors ->
H.div
H.div
{ className: "document-layout__authors justify-content-space-between" }
{ className: "document-layout__authors justify-content-space-between" }
...
...
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