Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6002 Rev 6019
Línea 8... Línea 8...
8
 
8
 
9
    return (
9
    return (
10
        <div class="user-profile-extended-ov st2">
10
        <div class="user-profile-extended-ov st2">
11
            <h3>
11
            <h3>
12
                Ubicaciones
12
                Ubicaciones
13
                <button class="btn-location-add">
13
                <button class="btn btn-location-add">
14
                    <i class="fa fa-plus-square" />
14
                    <i class="fa fa-plus-square" />
15
                </button>
15
                </button>
16
            </h3>
16
            </h3>
17
            <span id="locations-records">
17
            <span id="locations-records">
18
                {
18
                {
19
                    locations
19
                    locations
20
                        ?
20
                        ?
21
                        locations.map((location) => (
21
                        locations.map((location) => (
22
                            <p>
22
                            <p>
23
                                {location.formatted_address}
23
                                {location.formatted_address}
24
                                {location.is_main === 'y' ? ("Principal") : ""}
24
                                {location.is_main === 'y' ? " (Principal)" : ""}
25
                                <button
25
                                <button
26
                                    onClick={() => editLocation(location.link_edit)}
26
                                    onClick={() => editLocation(location.link_edit)}
27
                                    class="btn-location-edit"
27
                                    class="btn btn-location-edit"
28
                                >
28
                                >
29
                                    <i class="fa fa-pencil" />
29
                                    <i class="fa fa-pencil" />
30
                                </button>
30
                                </button>
31
                                <button
31
                                <button
32
                                    onClick={() => deleteLocation(location.link_delete)}
32
                                    onClick={() => deleteLocation(location.link_delete)}
33
                                    class="btn-location-delete"
33
                                    class="btn btn-location-delete"
34
                                >
34
                                >
35
                                    <i class="fa fa-trash" />
35
                                    <i class="fa fa-trash" />
36
                                </button>
36
                                </button>
37
                            </p>
37
                            </p>