|
@@ -106,49 +106,47 @@ class Sidebar extends React.Component {
|
106
|
106
|
|
107
|
107
|
return (
|
108
|
108
|
<div className={classnames('sidebar primaryColorBgDarken', {'sidebarclose': sidebarClose})}>
|
109
|
|
- <div className='sidebarSticky'>
|
110
|
|
- <div className='sidebar__expand primaryColorBg' onClick={this.handleClickToggleSidebar}>
|
111
|
|
- <i className={classnames('fa fa-chevron-left', {'fa-chevron-right': sidebarClose, 'fa-chevron-left': !sidebarClose})} />
|
112
|
|
- </div>
|
113
|
109
|
|
114
|
|
- <div className='sidebar__content'>
|
115
|
|
-
|
116
|
|
- <nav className='sidebar__navigation'>
|
117
|
|
- <ul className='sidebar__navigation__workspace'>
|
118
|
|
- { workspaceList.map(ws =>
|
119
|
|
- <WorkspaceListItem
|
120
|
|
- idWs={ws.id}
|
121
|
|
- label={ws.label}
|
122
|
|
- allowedApp={ws.sidebarEntry}
|
123
|
|
- lang={activeLang}
|
124
|
|
- activeFilterList={ws.id === workspaceIdInUrl ? [qs.parse(this.props.location.search).type] : []}
|
125
|
|
- isOpenInSidebar={ws.isOpenInSidebar}
|
126
|
|
- onClickTitle={() => this.handleClickWorkspace(ws.id, !ws.isOpenInSidebar)}
|
127
|
|
- onClickAllContent={this.handleClickAllContent}
|
128
|
|
- // onClickContentFilter={this.handleClickContentFilter}
|
129
|
|
- key={ws.id}
|
130
|
|
- />
|
131
|
|
- )}
|
132
|
|
- </ul>
|
133
|
|
- </nav>
|
134
|
|
-
|
135
|
|
- <div className='sidebar__btnnewworkspace'>
|
136
|
|
- <button
|
137
|
|
- className='sidebar__btnnewworkspace__btn btn btn-primary primaryColorBg primaryColorBorder primaryColorBorderDarkenHover mb-5'
|
138
|
|
- onClick={this.handleClickNewWorkspace}
|
139
|
|
- >
|
140
|
|
- {t('Create a workspace')}
|
141
|
|
- </button>
|
142
|
|
- </div>
|
|
110
|
+ <div className='sidebar__expand primaryColorBg' onClick={this.handleClickToggleSidebar}>
|
|
111
|
+ <i className={classnames('fa fa-chevron-left', {'fa-chevron-right': sidebarClose, 'fa-chevron-left': !sidebarClose})} />
|
|
112
|
+ </div>
|
143
|
113
|
|
|
114
|
+ <div className='sidebar__content'>
|
|
115
|
+ <nav className={classnames('sidebar__content__navigation', {'sidebarclose': sidebarClose})}>
|
|
116
|
+ <ul className='sidebar__content__navigation__workspace'>
|
|
117
|
+ { workspaceList.map(ws =>
|
|
118
|
+ <WorkspaceListItem
|
|
119
|
+ idWs={ws.id}
|
|
120
|
+ label={ws.label}
|
|
121
|
+ allowedApp={ws.sidebarEntry}
|
|
122
|
+ lang={activeLang}
|
|
123
|
+ activeFilterList={ws.id === workspaceIdInUrl ? [qs.parse(this.props.location.search).type] : []}
|
|
124
|
+ isOpenInSidebar={ws.isOpenInSidebar}
|
|
125
|
+ onClickTitle={() => this.handleClickWorkspace(ws.id, !ws.isOpenInSidebar)}
|
|
126
|
+ onClickAllContent={this.handleClickAllContent}
|
|
127
|
+ // onClickContentFilter={this.handleClickContentFilter}
|
|
128
|
+ key={ws.id}
|
|
129
|
+ />
|
|
130
|
+ )}
|
|
131
|
+ </ul>
|
|
132
|
+ </nav>
|
|
133
|
+
|
|
134
|
+ <div className='sidebar__content__btnnewworkspace'>
|
|
135
|
+ <button
|
|
136
|
+ className='sidebar__content__btnnewworkspace__btn btn btn-primary primaryColorBg primaryColorBorder primaryColorBorderDarkenHover mb-5'
|
|
137
|
+ onClick={this.handleClickNewWorkspace}
|
|
138
|
+ >
|
|
139
|
+ {t('Create a workspace')}
|
|
140
|
+ </button>
|
144
|
141
|
</div>
|
145
|
142
|
|
146
|
|
- <div className='sidebar__footer mb-2'>
|
147
|
|
- <div className='sidebar__footer__text whiteFontColor d-flex align-items-end justify-content-center'>
|
148
|
|
- Copyright - 2013 - 2018
|
149
|
|
- <div className='sidebar__footer__text__link'>
|
150
|
|
- <a href='http://www.tracim.fr/' target='_blank' className='ml-3'>tracim.fr</a>
|
151
|
|
- </div>
|
|
143
|
+ </div>
|
|
144
|
+
|
|
145
|
+ <div className='sidebar__footer mb-2'>
|
|
146
|
+ <div className='sidebar__footer__text whiteFontColor d-flex align-items-end justify-content-center'>
|
|
147
|
+ Copyright - 2013 - 2018
|
|
148
|
+ <div className='sidebar__footer__text__link'>
|
|
149
|
+ <a href='http://www.tracim.fr/' target='_blank' className='ml-3'>tracim.fr</a>
|
152
|
150
|
</div>
|
153
|
151
|
</div>
|
154
|
152
|
</div>
|