Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 1108 Rev 1109
Línea 226... Línea 226...
226
                          </div>
226
                          </div>
227
                        </div>
227
                        </div>
228
                      }
228
                      }
229
                      {/* <!-- tab-feed end--> */}
229
                      {/* <!-- tab-feed end--> */}
230
                    </div>
230
                    </div>
231
                    {!initialLoading
231
                    {
-
 
232
                      isFollower & currentTab === TABS.FEEDS
232
                      &&
233
                      &&
-
 
234
                      <div
-
 
235
                        className="product-feed-tab animated fadeIn"
-
 
236
                        id="feed-dd feed"
-
 
237
                      >
-
 
238
                        {/* <!--posts-section star--> */}
-
 
239
                        <div className="posts-section">
-
 
240
                          <FeedSection routeTimeline={timeline} />
-
 
241
                        </div>
-
 
242
                        {/* <!--posts-section end--> */}
-
 
243
                      </div>
-
 
244
                    }
-
 
245
                    {
-
 
246
                      !isFollower || currentTab === TABS.INFO
-
 
247
                      &&
-
 
248
                      < div
-
 
249
                        className="product-feed-tab animated fadeIn"
-
 
250
                        id="feed-dd info"
-
 
251
                      >
-
 
252
                        {
-
 
253
                          overview
-
 
254
                          &&
-
 
255
                          <div className="user-profile-extended-ov">
-
 
256
                            <h3>Visión general</h3>
-
 
257
                            <span>{parse(overview)}</span>
-
 
258
                          </div>
-
 
259
                        }
-
 
260
                        {
-
 
261
                          locations
-
 
262
                          &&
-
 
263
                          <div className="user-profile-extended-ov st2">
-
 
264
                            <h3>Ubicación</h3>
-
 
265
                            <span>
-
 
266
                              {locations.map(
-
 
267
                                ({ formatted_address, is_main }, index) => (
-
 
268
                                  <React.Fragment key={index}>
-
 
269
                                    {index >= 0 ? <hr /> : ""}
-
 
270
                                    <p>
-
 
271
                                      {`${formatted_address} ${is_main === "y" ? "(Principal)" : ""
-
 
272
                                        }`}
-
 
273
                                    </p>
233
                      <React.Fragment>
274
                                  </React.Fragment>
-
 
275
                                )
-
 
276
                              )}
-
 
277
                            </span>
-
 
278
                          </div>
-
 
279
                        }
-
 
280
                        {
-
 
281
                          industry
-
 
282
                          &&
-
 
283
                          <div className="user-profile-ov">
-
 
284
                            <h3>Industria</h3>
-
 
285
                            <span>{industry}</span>
-
 
286
                          </div>
-
 
287
                        }
-
 
288
                        {
-
 
289
                          companySize
-
 
290
                          &&
-
 
291
                          <div className="user-profile-ov">
-
 
292
                            <h3>Tamaño de la empresa</h3>
-
 
293
                            <span>{companySize}</span>
-
 
294
                          </div>
-
 
295
                        }
-
 
296
                        {
-
 
297
                          foundationYear
-
 
298
                          &&
-
 
299
                          <div className="user-profile-ov">
-
 
300
                            <h3>Año de fundación</h3>
-
 
301
                            <span>{foundationYear}</span>
-
 
302
                          </div>
-
 
303
                        }
234
                        {
304
                        {
235
                          currentTab === TABS.FEEDS
305
                          website
236
                          &&
306
                          &&
237
                          <div
-
 
238
                            className="product-feed-tab animated fadeIn"
-
 
239
                            id="feed-dd"
-
 
240
                          >
-
 
241
                            {/* <!--posts-section star--> */}
-
 
242
                            <div className="posts-section">
-
 
243
                              <FeedSection routeTimeline={timeline} />
-
 
244
                            </div>
-
 
245
                            {/* <!--posts-section end--> */}
-
 
246
                          </div>
-
 
247
                        }
-
 
248
                        {
-
 
249
                          currentTab === TABS.INFO || !isFollower
-
 
250
                          &&
-
 
251
                          < div
-
 
252
                            className="product-feed-tab animated fadeIn"
-
 
253
                            id="feed-dd"
-
 
254
                          >
-
 
255
                            {!!overview && (
-
 
256
                              <div className="user-profile-extended-ov">
-
 
257
                                <h3>Visión general</h3>
-
 
258
                                <span>{parse(overview)}</span>
-
 
259
                              </div>
-
 
260
                            )}
-
 
261
                            {!!locations.length && (
-
 
262
                              <div className="user-profile-extended-ov st2">
-
 
263
                                <h3>Ubicación</h3>
-
 
264
                                <span>
-
 
265
                                  {locations.map(
-
 
266
                                    ({ formatted_address, is_main }, index) => (
-
 
267
                                      <React.Fragment key={index}>
-
 
268
                                        {index >= 0 ? <hr /> : ""}
-
 
269
                                        <p>
-
 
270
                                          {`${formatted_address} ${is_main === "y" ? "(Principal)" : ""
-
 
271
                                            }`}
-
 
272
                                        </p>
-
 
273
                                      </React.Fragment>
-
 
274
                                    )
-
 
275
                                  )}
-
 
276
                                </span>
-
 
277
                              </div>
-
 
278
                            )}
-
 
279
                            {!!industry && (
-
 
280
                              <div className="user-profile-ov">
-
 
281
                                <h3>Industria</h3>
-
 
282
                                <span>{industry}</span>
-
 
283
                              </div>
-
 
284
                            )}
-
 
285
                            {!!companySize && (
-
 
286
                              <div className="user-profile-ov">
-
 
287
                                <h3>Tamaño de la empresa</h3>
-
 
288
                                <span>{companySize}</span>
-
 
289
                              </div>
-
 
290
                            )}
-
 
291
                            {!!foundationYear && (
-
 
292
                              <div className="user-profile-ov">
-
 
293
                                <h3>Año de fundación</h3>
-
 
294
                                <span>{foundationYear}</span>
-
 
295
                              </div>
-
 
296
                            )}
-
 
297
                            {!!website && (
-
 
298
                              <div className="user-profile-ov">
307
                          <div className="user-profile-ov">
299
                                <h3>Página web</h3>
308
                            <h3>Página web</h3>
300
                                <span>{website}</span>
309
                            <span>{website}</span>
301
                              </div>
-
 
302
                            )}
-
 
303
                          </div>
310
                          </div>
304
                        }
311
                        }
305
                      </React.Fragment>
312
                      </div>
306
                    }
313
                    }
307
                    {initialLoading && (
314
                    {initialLoading && (
308
                      <div
315
                      <div
309
                        style={{
316
                        style={{
310
                          display: "flex",
317
                          display: "flex",