AutorÃa | Ultima modificación | Ver Log |
import React from "react";const CardTest = (props) => {// get propsconst { test, backendVars, getTestByUrl } = props;return (<div className="col-lg-3 col-md-3 col-sm-6" ><div className="company_profile_info"><div className="company-up-info"><h3>{test.name}</h3><divdangerouslySetInnerHTML={{ __html: test.description }}className="description" /><h6> {test.job_description}</h6><h4> {backendVars.LBL_STATUS}: {test.status}</h4><ul>{test.link_take_a_test &&<li><ahref="#"className="follow btn-profile-view"onClick={() => getTestByUrl(test.link_take_a_test)}>{test.status !='Borrador' ? backendVars.LBL_TAKE_A_TEST : backendVars.LBL_CONTINUE_A_TEST }</a></li>}{test.link_report &&<li><a href={test.link_report} className="message-us btn-send-message" target="_blank">{backendVars.LBL_REPORT}</a></li>}</ul></div></div></div>)}export default CardTest;