Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/676661/?format=api
http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_sla/uk/?format=api", "source": [ "<div style=\"width: 600px\">\n\n <div id=\"request-mail-header\">\n <div itemscope=\"itemscope\" itemtype=\"http://schema.org/EmailMessage\">\n <div itemprop=\"potentialAction\" itemscope=\"itemscope\" itemtype=\"http://schema.org/ViewAction\">\n <link itemprop=\"target\" target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\">\n <link itemprop=\"url\" target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\">\n <meta itemprop=\"name\" content=\"View Request\">\n </div>\n </div>\n <table id=\"request-mail-header-table\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"margin:5px 0 0 0;box-sizing:border-box;border-collapse:collapse;caption-side:bottom;width: 100%; margin-top: 5px;\" width=\"100%\">\n <tbody style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n <td id=\"td-view-request\" valign=\"center\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n <a target=\"_blank\" t-att-href=\"object.get_mail_url(pid=object.author_id.id)\" style=\"border-style:solid;box-sizing:border-box;border-left-color:#875a7b;border-bottom-color:#875a7b;border-right-color:#875a7b;border-top-color:#875a7b;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;display: table-cell; padding: 8px 12px; font-size: 12px; color: #FFFFFF; text-decoration: none ; font-weight: 400; background-color: #875A7B; border: 0px solid #875A7B; border-radius:3px\">\n View Request\n </a>\n </td>\n <td id=\"td-company\" valign=\"center\" align=\"right\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n <img t-attf-src=\"/logo.png{{ '?company=%s' % company.id if company else '' }}\" style=\"box-sizing:border-box;vertical-align:middle;padding: 0px; margin: 0px; height: auto; max-width: 80px; max-height: 40px;\" t-att-alt=\"company.name if company else ''\">\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin: 12px 0px; box-sizing: border-box; height: 1px; opacity: 0.25; border-width: 0px; background-color: currentcolor; color: #495057;\">\n\n\n <div id=\"request-mail-template-body\">\n <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\">Dear, <t t-out=\"object._get_last_event_sla_warning_assigned_partner_id().display_name\"></t></p>\n <p>Request <strong><a t-att-href=\"object.get_mail_url(object._get_last_event_sla_warning_assigned_partner_id().id)\" target=\"_blank\" t-esc=\"object.display_name\"></a></strong>\n assigned to you have reached SLA Limit date. Please, take actions to complete it as fast as possible.</p>\n </div>\n <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin: 12px 0px; box-sizing: border-box; height: 1px; opacity: 0.25; border-width: 0px; background-color: currentcolor; color: #495057;\">\n\n\n <div id=\"request-mail-request-info\">\n <table cellspacing=\"0\" border=\"0\" style=\"margin:5px 0 0 0;box-sizing:border-box;border-collapse:collapse;caption-side:bottom;width: 100%; margin-top: 5px; max-width: 600px\" width=\"100%\">\n <tbody style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;\">\n <tr t-if=\"object.parent_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">\n Parent Request\n </th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <a t-att-href=\"object.parent_id.get_mail_url(object.author_id.id)\" target=\"_blank\" t-esc=\"object.parent_id.name\" style=\"text-decoration: none; box-sizing: border-box; color: #495057;\"></a>\n </td>\n </tr>\n <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Stage</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.stage_id.display_name\"></span>\n </td>\n </tr>\n <tr t-if=\"object.category_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\" class=\"request-info-category\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Category</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.sudo().category_id.display_name\"></span>\n </td>\n </tr>\n <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\" class=\"request-info-type\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Type</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.sudo().type_id.display_name\"></span>\n </td>\n </tr>\n <tr style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Author</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.sudo().author_id.name\"></span>\n </td>\n </tr>\n <tr t-if=\"object.sudo().created_by_id.partner_id != object.sudo().author_id\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Created by</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.sudo().created_by_id.name\"></span>\n </td>\n </tr>\n <tr t-if=\"object.sudo().user_id and not hide_assignee\" style=\"border-style:solid;box-sizing:border-box;border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;vertical-align: top\">\n <th style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;font-weight:500;border-bottom: 1px solid #ccc; text-align: left;\">Assignee</th>\n <td style=\"border-style:solid;box-sizing:border-box;border-bottom-color:#cccccc;border-left-width:0px;border-bottom-width:1px;border-right-width:0px;border-top-width:0px;border-bottom: 1px solid #ccc;\">\n <span t-esc=\"object.sudo().user_id.name\"></span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin: 12px 0px; box-sizing: border-box; height: 1px; opacity: 0.25; border-width: 0px; background-color: currentcolor; color: #495057;\">\n\n\n <div id=\"request-request-response-box\" style=\"padding: 0px; width:600px;\">\n <div>\n <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\"><strong style=\"box-sizing:border-box;font-weight:bolder;\">Request text:</strong></p>\n <t t-out=\"object.sudo().request_text_sample\"></t>\n <t t-if=\"object.sudo().is_large_request_text\">\n <a t-att-href=\"object.get_mail_url(pid=object.author_id.id)\" target=\"_blank\" style=\"text-decoration: none; box-sizing: border-box; color: #495057;\">...</a>\n </t>\n </div>\n <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin: 12px 0px; box-sizing: border-box; height: 1px; opacity: 0.25; border-width: 0px; background-color: currentcolor; color: #495057;\">\n <div>\n <p style=\"margin:0px 0 12px 0;box-sizing:border-box;\"><strong style=\"box-sizing:border-box;font-weight:bolder;\">Response text:</strong></p>\n <t t-out=\"object.sudo().response_text\"></t>\n </div>\n <hr style=\"border-left-width:0px;border-bottom-width:0px;border-right-width:0px;border-top-width:0px;margin: 12px 0px; box-sizing: border-box; height: 1px; opacity: 0.25; border-width: 0px; background-color: currentcolor; color: #495057;\">\n </div>\n </div>\n " ], "previous_source": "", "target": [ "" ], "id_hash": -5778176650517513306, "content_hash": -5778176650517513306, "location": "model:mail.template,body_html:generic_request_sla.mail_template_default_request_sla_failed", "context": "", "note": "module: generic_request_sla", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 440, "source_unit": "http://weblate.crnd.pro/api/units/676660/?format=api", "priority": 100, "id": 676661, "web_url": "http://weblate.crnd.pro/translate/bureaucrat-generics-16-0/generic_request_sla/uk/?checksum=2fcfcaf350727ba6", "url": "http://weblate.crnd.pro/api/units/676661/?format=api", "explanation": "", "extra_flags": "" }{ "translation": "