You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#26 2020-05-14 03:55:57

robertocarlos.floresh
Moderator
From: San Salvador, El Salvador
Registered: 2014-12-29
Posts: 195

Re: Tutorial - Cambio de plantillas de notificaciones

Tickets Validation - Tiquetes
<table style="border-spacing: 0px; border-collapse: collapse; width: 100%;" border="0" width="100%" cellspacing="0" cellpadding="0">
  <tbody>
    <tr>
      <td class="x_outer" style="font-family: Arial, sans-serif; min-width: 600px; border-collapse: collapse; background-color: #ebeff2; width: 100%;" valign="top">
        <table id="x_boxing" class="x_m_boxing" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="640" cellspacing="0" cellpadding="0" align="center">
          <tbody>
            <tr>
              <td id="x_template-wrapper" class="x_mktoContainer x_boxedbackground" style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse;">
                <p> </p>
                <table id="x_hero" class="x_mktoModule x_m_hero" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
                  <tbody>
                    <tr>
                      <td class="x_background" valign="top" bgcolor="#232D37" width="640" height="99px" data-imagetype="External">
                        <center><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><img class="img-fluid o_we_custom_image" title=""
                              src="https://glpi-project.org/wp-content/uploads/2017/03/logo-glpi-banc-1.png" width="140" height="95" data-original-title="" aria-describedby="tooltip649135" /></span>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_free-text" class="x_mktoModule x_m_free-text" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#FFFFFF">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="580" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td class="x_primary-font x_text" style="word-break: break-word; font-family: Arial,sans-serif; font-size: 14px; color: #333333; line-height: 170%; border-collapse: collapse;">
                                  <div class="x_mktoText">
                                    <div>##FOREACHvalidations##</div>
                                    <p>##IFvalidation.storestatus=2##</p>
                                    <table style="border-collapse: collapse; width: 100%; height: 46px;" border="1">
                                      <tbody>
                                        <tr style="height: 23px;">
                                          <td style="width: 50%; height: 23px;" colspan="2">##validation.submission.title## </td>
                                        </tr>
                                        <tr style="height: 23px;">
                                          <td style="width: 50%; background-color: #232d37; height: 23px;"><span style="color: #ffffff;"><strong>##lang.validation.commentsubmission##</strong></span></td>
                                          <td style="width: 50%; height: 23px;">##validation.commentsubmission##</td>
                                        </tr>
                                      </tbody>
                                    </table>
                                    <p>##ENDIFvalidation.storestatus##<br />##ELSEvalidation.storestatus## <br />##validation.answer.title## <br />##ENDELSEvalidation.storestatus##<br />##lang.ticket.url##</p>
                                    <div> </div>
                                  </div>
                                  <div id="x_text4" class="x_mktoText">
                                    <center><strong> <a class="x_primary-font x_button"
                                          style="display: inline-block; font-size: 14px; font-family: Arial,sans-serif; color: white; text-decoration: none; background-color: #f18900; border-bottom-left-radius: 4px; border-top-left-radius: 4px; border-bottom-right-radius: 4px; border-top-right-radius: 4px; padding: 12px 18px 12px 18px; border: 1px solid #FFFFFF;"
                                          href="##ticket.urlvalidation##" target="_blank" rel="noopener noreferrer" data-auth="NotApplicable">##ticket.urlvalidation##</a><br /><br /></strong></center>
                                    <table style="border-collapse: collapse; width: 100%;" border="1">
                                      <tbody>
                                        <tr>
                                          <td style="width: 50%; background-color: #232d37;"><span style="color: #ffffff;"><strong>##IFvalidation.status## ##lang.validation.status## ##ENDIFvalidation.status## </strong></span></td>
                                          <td style="width: 50%;">##IFvalidation.status##  ##validation.status## ##ENDIFvalidation.status##</td>
                                        </tr>
                                        <tr>
                                          <td style="width: 50%; background-color: #232d37;"><span style="color: #ffffff;"><strong>##IFvalidation.commentvalidation##</strong></span><br /><span
                                              style="color: #ffffff;"><strong>##lang.validation.commentvalidation## </strong></span><br /><span style="color: #ffffff;"><strong>##ENDIFvalidation.commentvalidation## </strong></span></td>
                                          <td style="width: 50%;">##IFvalidation.commentvalidation##<br />##validation.commentvalidation##<br />##ENDIFvalidation.commentvalidation##</td>
                                        </tr>
                                      </tbody>
                                    </table>
                                    <p>##ENDFOREACHvalidations## </p>
                                  </div>
                                </td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 5px; font-size: 5px;" height="5px"> </td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_standard-image" class="x_mktoModule x_m_standard-image" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#FFFFFF">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="640" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 20px; font-size: 20px;" height="20px"> </td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_title5" class="x_mktoModule x_m_title" style="border-spacing: 0; border-collapse: collapse; font-family: Arial,sans-serif; text-align: center; color: #32ad84;" border="0" width="100%" cellspacing="0" cellpadding="0"
                  align="center">
                  <tbody>
                    <tr>
                      <td class="x_background" style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#ffffff"> </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_footer" class="x_mktoModule x_m_footer" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #232d37; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;" valign="top" bgcolor="#232D37">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="580" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 20px; font-size: 20px;" height="20px"> </td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse;"> </td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse;"> </td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_blankSpacea6849bce-b5d6-421a-9901-67787c142474" class="x_mktoModule x_m_blankSpace" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ebeff2;" valign="top" bgcolor="#EBEFF2">
                        <table class="x_table600" style="border-spacing: 0px; border-collapse: collapse; margin: 0px auto; height: 61px;" border="0" width="452" cellspacing="0" cellpadding="0" align="center">
                          <tbody>
                            <tr>
                              <td class="x_primary-font x_title" style="font-family: Arial, sans-serif; font-size: 60px; line-height: 90%; color: #32ad84; text-align: left; border-collapse: collapse; width: 450px;">
                                <div id="x_copyright" class="x_mktoText">
                                  <div class="x_p1" style="text-align: center;"><span style="color: #828f9d; font-size: 12px;"> © GLPI - All copyrights reserved. </span></div>
                                </div>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>

Regresar al menú


Roberto Flores
Skype: robertocarlos.flores / Telegram: @rcfloresh

Grupo de GLPI Español (Telegram): https://t.me/glpisp  // @glpisp

Offline

#27 2020-05-14 03:56:13

robertocarlos.floresh
Moderator
From: San Salvador, El Salvador
Registered: 2014-12-29
Posts: 195

Re: Tutorial - Cambio de plantillas de notificaciones

Unlock Item request - Objetos bloqueados
<table style="border-spacing: 0px; border-collapse: collapse; width: 100%;" border="0" width="100%" cellspacing="0" cellpadding="0">
  <tbody>
    <tr>
      <td class="x_outer" style="font-family: Arial, sans-serif; min-width: 600px; border-collapse: collapse; background-color: #ebeff2; width: 100%;" valign="top">
        <table id="x_boxing" class="x_m_boxing" style="border-spacing: 0px; border-collapse: collapse; margin: 0px auto; width: 643px;" border="0" width="640" cellspacing="0" cellpadding="0" align="center">
          <tbody>
            <tr>
              <td id="x_template-wrapper" class="x_mktoContainer x_boxedbackground" style="word-break: break-word; font-family: Arial, sans-serif; border-collapse: collapse; width: 642px;">
                <p><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"> </span></p>
                <table id="x_hero" class="x_mktoModule x_m_hero" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0">
                  <tbody>
                    <tr>
                      <td class="x_background" valign="top" bgcolor="#232D37" width="640" height="99px" data-imagetype="External">
                        <center><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><img class="img-fluid o_we_custom_image" title="" src="https://glpi-project.org/wp-content/uploads/2017/03/logo-glpi-banc-1.png" width="140" height="95"
                              data-original-title="" aria-describedby="tooltip649135" /></span></center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_free-text" class="x_mktoModule x_m_free-text" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#FFFFFF">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="580" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 25px; font-size: 25px;" height="25px"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span
                                      style="font-size: 14px;"> </span></span></td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial, sans-serif; font-size: 14px; color: #333333; line-height: 170%; border-collapse: collapse;"><strong><span style="color: #ffffff;"> </span></strong></td>
                              </tr>
                              <tr>
                                <td class="x_primary-font x_text" style="word-break: break-word; font-family: Arial,sans-serif; font-size: 14px; color: #333333; line-height: 170%; border-collapse: collapse;">
                                  <p><span style="font-size: small;">Hello ##objectlock.lockedby.firstname##,<br />Could you go to this item and unlock it for me?</span></p>
                                  <table style="border-collapse: collapse; width: 100%; height: 69px;" border="1">
                                    <tbody>
                                      <tr style="height: 23px;">
                                        <td style="width: 50%; height: 23px;" colspan="2"><a href="##objectlock.url##">##objectlock.type## ###objectlock.id## - ##objectlock.name##</a></td>
                                      </tr>
                                      <tr style="height: 23px;">
                                        <td style="width: 50%; height: 23px; background-color: #232d37;"><span style="color: #ffffff;"><strong>##lang.objectlock.url##</strong></span></td>
                                        <td style="width: 50%; height: 23px;">##objectlock.url##</td>
                                      </tr>
                                      <tr style="height: 23px;">
                                        <td style="width: 50%; height: 23px; background-color: #232d37;"><span style="color: #ffffff;"><strong>##lang.objectlock.date_mod##</strong></span></td>
                                        <td style="width: 50%; height: 23px;">##objectlock.date_mod##</td>
                                      </tr>
                                    </tbody>
                                  </table>
                                  <p><span style="font-size: small;">Thank you,<br />Regards,<br />##objectlock.requester.firstname## ##objectlock.requester.lastname##</span></p>
                                </td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 5px; font-size: 5px;" height="5px"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span
                                      style="font-size: 14px;"> </span></span></td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_standard-image" class="x_mktoModule x_m_standard-image" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#FFFFFF">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="640" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 20px; font-size: 20px;" height="20px"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span
                                      style="font-size: 14px;"> </span></span></td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_title5" class="x_mktoModule x_m_title" style="border-spacing: 0; border-collapse: collapse; font-family: Arial,sans-serif; text-align: center; color: #32ad84;" border="0" width="100%" cellspacing="0" cellpadding="0"
                  align="center">
                  <tbody>
                    <tr>
                      <td class="x_background" style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ffffff;" valign="top" bgcolor="#ffffff"><span
                          style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif;"> </span></td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_footer" class="x_mktoModule x_m_footer" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #232d37; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;" valign="top" bgcolor="#232D37">
                        <center>
                          <table class="x_table600" style="border-spacing: 0; border-collapse: collapse; margin: 0 auto 0 auto;" border="0" width="580" cellspacing="0" cellpadding="0" align="center">
                            <tbody>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; line-height: 20px; font-size: 20px;" height="20px"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span
                                      style="font-size: 14px;"> </span></span></td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse;">
                                  <center>
                                    <table class="x_table1-3" style="border-spacing: 0px; border-collapse: collapse; height: 23px;" border="0" width="577" cellspacing="0" cellpadding="0" align="left">
                                      <tbody>
                                        <tr style="height: 16px;">
                                          <td style="font-family: Arial, sans-serif; border-collapse: collapse; height: 16px; width: 575px;">
                                            <p><span style="color: #83909e; font-size: 12px;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"> </span></span></span>
                                            </p>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </center>
                                </td>
                              </tr>
                              <tr>
                                <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse;"><span style="font-family: Verdana, Arial, Helvetica, sans-serif;"> </span></td>
                              </tr>
                            </tbody>
                          </table>
                        </center>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <table id="x_blankSpacea6849bce-b5d6-421a-9901-67787c142474" class="x_mktoModule x_m_blankSpace" style="border-spacing: 0; border-collapse: collapse;" border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
                  <tbody>
                    <tr>
                      <td style="word-break: break-word; font-family: Arial,sans-serif; border-collapse: collapse; background-color: #ebeff2;" valign="top" bgcolor="#EBEFF2">
                        <div id="x_copyright" class="x_mktoText">
                          <div class="x_p1" style="text-align: center;"><span style="color: #828f9d; font-size: 12px;"> © GLPI - All copyrights reserved. </span></div>
                        </div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </td>
    </tr>
  </tbody>
</table>

Regresar al menú


Roberto Flores
Skype: robertocarlos.flores / Telegram: @rcfloresh

Grupo de GLPI Español (Telegram): https://t.me/glpisp  // @glpisp

Offline

Board footer

Powered by FluxBB