1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 16:17:02 +00:00

[library list] added 'plus' icon to the toggle of the dropdown menus at the end of the headings (#7400)

This commit is contained in:
llj
2025-01-21 11:26:56 +08:00
committed by GitHub
parent 458d783195
commit 798384a638
7 changed files with 33 additions and 5 deletions

View File

@@ -250,10 +250,11 @@ class SharedWithAll extends React.Component {
<div className="main-panel-center">
<div className="cur-view-container">
<div className="cur-view-path">
<h3 className="sf-heading m-0">
<h3 className="sf-heading m-0 d-flex align-items-center">
{gettext('Shared with all')}
{canAddPublicRepo &&
<SingleDropdownToolbar
withPlusIcon={true}
opList={[
{ 'text': gettext('Share existing libraries'), 'onClick': this.onSelectRepoToggle },
{ 'text': gettext('New Library'), 'onClick': this.onCreateRepoToggle }