Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7165 Rev 7186
Línea 10... Línea 10...
10
import WidgetLayout from '../../components/widgets/WidgetLayout'
10
import WidgetLayout from '../../components/widgets/WidgetLayout'
11
import PaginationComponent from '../../components/UI/PaginationComponent'
11
import PaginationComponent from '../../components/UI/PaginationComponent'
Línea 12... Línea 12...
12
 
12
 
13
import ConfirmModal from '../../components/modals/ConfirmModal'
13
import ConfirmModal from '../../components/modals/ConfirmModal'
-
 
14
import QuestionCard from '../../components/my-coach/QuestionCard'
Línea 14... Línea 15...
14
import QuestionCard from '../../components/my-coach/QuestionCard'
15
import QuestionModal from '../../components/my-coach/QuestionModal'
15
 
16
 
16
const CoachCategories = styled(WidgetLayout)`
17
const CoachCategories = styled(WidgetLayout)`
17
  padding: 1rem;
18
  padding: 1rem;
Línea 185... Línea 186...
185
 
186
 
186
  return (
187
  return (
187
    <>
188
    <>
188
      <Container as="section" className="companies-info">
189
      <Container as="section" className="companies-info">
189
        <div className="company-title">
190
        <div className="company-title">
190
          <h1 className="title mx-auto">{labels.knowledge_area_title}</h1>
191
          <h1 className="title mx-auto">{labels.my_coach}</h1>
191
          <h2
192
          <h2
192
            className="title cursor-pointer"
193
            className="title cursor-pointer"
193
            onClick={() => addQuestion(addUrl.current)}
194
            onClick={() => addQuestion(addUrl.current)}
194
          >
195
          >
195
            {labels.knowledge_area_add}
196
            {labels.my_coach_question_add}
196
          </h2>
197
          </h2>
Línea 197... Línea 198...
197
        </div>
198
        </div>
198
 
199
 
Línea 258... Línea 259...
258
              isRow
259
              isRow
259
            />
260
            />
260
          </Col>
261
          </Col>
261
        </Row>
262
        </Row>
262
      </Container>
263
      </Container>
-
 
264
      <QuestionModal
-
 
265
        show={['add', 'edit'].includes(modalShow)}
-
 
266
        onClose={closeModal}
-
 
267
        onComplete={getQuestions}
-
 
268
        url={actionUrl.current}
-
 
269
        isEdit={modalShow === 'edit'}
-
 
270
      />
263
      <ConfirmModal
271
      <ConfirmModal
264
        show={modalShow === 'delete'}
272
        show={modalShow === 'delete'}
265
        onClose={closeModal}
273
        onClose={closeModal}
266
        onAccept={confirmDelete}
274
        onAccept={confirmDelete}
267
      />
275
      />