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
143
Issues
143
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
282dafcd
Commit
282dafcd
authored
Jan 03, 2025
by
Fabien Maniere
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few changes on the manage team tab + reorder settings btns
parent
1c487136
Pipeline
#7192
passed with stages
in 20 minutes and 33 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
ManageTeam.purs
...antext/Components/Forest/Tree/Node/Action/ManageTeam.purs
+15
-6
Settings.purs
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
+2
-2
No files found.
src/Gargantext/Components/Forest/Tree/Node/Action/ManageTeam.purs
View file @
282dafcd
...
...
@@ -113,15 +113,24 @@ teamLayoutRowsCpt = here.component "teamLayoutRows" cpt
else
R.fragment
(makeLeader team_owner_username : (map makeTeam team_members'))
, H.div { className: "col text-center mt-3" }
[ B.iconButton
{ callback: focusOnShareTab
, title: "Invite a new user"
-- , elevation: Level1
, name: "user-plus"
, showLabel: true
}
]
]
where
makeTeam :: TeamMember -> R.Element
makeTeam { username, shared_folder_id } =
H.div { className: "f
rom-group row
" }
[ H.div { className: "col-
8
" } [ H.text username ]
H.div { className: "f
orm-group row my-0
" }
[ H.div { className: "col-
9
" } [ H.text username ]
, H.a
{ className: "text-danger col-
2
fa fa-times"
{ className: "text-danger col-
3 text-center
fa fa-times"
, title: "Remove user from team"
, type: "button"
, on: { click: submit shared_folder_id }
...
...
@@ -130,9 +139,9 @@ teamLayoutRowsCpt = here.component "teamLayoutRows" cpt
]
makeLeader username =
H.div { className: "f
rom-group row
" }
[ H.div { className: "col-
8
" } [ H.text username ]
, H.p { className: "col-
2
" } [ H.text "owner" ]
H.div { className: "f
orm-group row my-0
" }
[ H.div { className: "col-
9
" } [ H.text username ]
, H.p { className: "col-
3 text-center
" } [ H.text "owner" ]
]
submit sharedFolderId _ = do
...
...
src/Gargantext/Components/Forest/Tree/Node/Settings.purs
View file @
282dafcd
...
...
@@ -176,12 +176,12 @@ settingsBoxLens Corpus =
]
, Upload
, SearchBox
, ShareURL
, WriteNodesDocuments
-- , ReloadWithSettings -- TODO
, Move moveParameters
-- , Download
-- , Link (linkParams Annuaire)
, ShareURL
, Delete
]
settingsBoxLens Dashboard =
...
...
@@ -350,8 +350,8 @@ settingsBoxLens Team =
, NodeFrameVisio
]
, Share
, ShareURL
, ManageTeam
, ShareURL
, Delete
]
settingsBoxLens _ =
...
...
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