Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 1469 | Rev 2137 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1469 Rev 1507
Línea 11... Línea 11...
11
 
11
 
12
import Options from '../../components/UI/Option'
12
import Options from '../../components/UI/Option'
13
import ConfirmModal from '../../components/modals/ConfirmModal'
13
import ConfirmModal from '../../components/modals/ConfirmModal'
14
import EmptySection from '../../components/UI/EmptySection'
14
import EmptySection from '../../components/UI/EmptySection'
15
import ProfileInfo from '../../components/widgets/default/ProfileWidget'
15
import ProfileInfo from '../../components/widgets/default/ProfileWidget'
16
import StyledContainer from '../../components/widgets/WidgetLayout'
16
import WidgetWrapper from '../../components/widgets/WidgetLayout'
Línea 17... Línea 17...
17
import Paraphrase from '../../components/UI/Paraphrase'
17
import Paraphrase from '../../components/UI/Paraphrase'
18
 
18
 
19
const StyledNotificationList = styled(StyledContainer.Body)`
19
const StyledNotificationList = styled(WidgetWrapper.Body)`
20
  max-height: 60vh;
20
  max-height: 60vh;
Línea 21... Línea 21...
21
  overflow: auto;
21
  overflow: auto;
Línea 161... Línea 161...
161
              country={country}
161
              country={country}
162
              connections={connections}
162
              connections={connections}
163
            />
163
            />
164
          </Grid>
164
          </Grid>
165
          <Grid item xs={12} md={8}>
165
          <Grid item xs={12} md={8}>
166
            <StyledContainer>
166
            <WidgetWrapper>
167
              <StyledContainer.Header title='Notificaciones'>
167
              <WidgetWrapper.Header title='Notificaciones'>
168
                <Options
168
                <Options
169
                  options={[
169
                  options={[
170
                    {
170
                    {
171
                      label: 'Borrar notificaciones',
171
                      label: 'Borrar notificaciones',
172
                      action: toggleConfirmModal
172
                      action: toggleConfirmModal
173
                    }
173
                    }
174
                  ]}
174
                  ]}
175
                />
175
                />
176
              </StyledContainer.Header>
176
              </WidgetWrapper.Header>
Línea 177... Línea 177...
177
 
177
 
178
              <StyledNotificationList>
178
              <StyledNotificationList>
179
                {notifications.length ? (
179
                {notifications.length ? (
180
                  [...notifications].reverse().map((notification, index) => (
180
                  [...notifications].reverse().map((notification, index) => (
Línea 190... Línea 190...
190
                    message='No hay notificaciones'
190
                    message='No hay notificaciones'
191
                    align='center'
191
                    align='center'
192
                  />
192
                  />
193
                )}
193
                )}
194
              </StyledNotificationList>
194
              </StyledNotificationList>
195
            </StyledContainer>
195
            </WidgetWrapper>
196
          </Grid>
196
          </Grid>
197
        </Grid>
197
        </Grid>
198
      </Container>
198
      </Container>
Línea 199... Línea 199...
199
 
199