Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6515 Rev 6545
Línea 60... Línea 60...
60
  }
60
  }
Línea 61... Línea 61...
61
 
61
 
62
  return (
62
  return (
63
    <div className="suggests_widget">
63
    <div className="suggests_widget">
64
      <div className="suggests_widget-header">
64
      <div className="suggests_widget-header">
65
        <h3>{`${labels.CONNECT_WITH}:`}</h3>
65
        <h3>{`${labels.connect_with}:`}</h3>
66
        {peopleYouMayKnow.length >= 4 && (
66
        {peopleYouMayKnow.length >= 4 && (
67
          <span onClick={() => setLookMore(!lookMore)}>
67
          <span onClick={() => setLookMore(!lookMore)}>
68
            {lookMore ? labels.VIEW_LESS : labels.VIEW_MORE}
68
            {lookMore ? labels.view_less : labels.view_more}
69
          </span>
69
          </span>
70
        )}
70
        )}
71
      </div>
71
      </div>
72
      <div className="suggest-list">
72
      <div className="suggest-list">
Línea 86... Línea 86...
86
                {link_request && (
86
                {link_request && (
87
                  <button
87
                  <button
88
                    className="btn btn-primary"
88
                    className="btn btn-primary"
89
                    onClick={() => handleConnect(link_request)}
89
                    onClick={() => handleConnect(link_request)}
90
                  >
90
                  >
91
                    {labels.CONNECT}
91
                    {labels.connect}
92
                  </button>
92
                  </button>
93
                )}
93
                )}
94
                {link_cancel && (
94
                {link_cancel && (
95
                  <button
95
                  <button
96
                    className="btn btn-secondary"
96
                    className="btn btn-secondary"
97
                    onClick={() => handleConnect(link_cancel)}
97
                    onClick={() => handleConnect(link_cancel)}
98
                  >
98
                  >
99
                    {labels.CANCEL}
99
                    {labels.cancel}
100
                  </button>
100
                  </button>
101
                )}
101
                )}
102
              </div>
102
              </div>
103
            )
103
            )
104
          )
104
          )
105
        ) : (
105
        ) : (
106
          <EmptySection align="left" message={labels.DATATABLE_EMPTY} />
106
          <EmptySection align="left" message={labels.datatable_empty} />
107
        )}
107
        )}
108
      </div>
108
      </div>
109
    </div>
109
    </div>
110
  )
110
  )
111
}
111
}