This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"fields": [ | |
"channel_id", | |
"status_id", | |
"user_id", | |
"group_id", | |
"priority", | |
"created_at", | |
"time_to_first_response", | |
"avg_time_to_resolution", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(document).ready(function() { | |
$(".g-recaptcha").insertBefore("<field>"); | |
}); | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for obj in case.emails_and_notes %} | |
{{ obj }} | |
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- fix multibrand issue with article rating links --> | |
{% capture tempfix %}rate?b_id={{desk.current_brand.id}}&{% endcapture %} | |
{{ rate_block | replace: "rate?", tempfix}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- add to desk-external-variables div --> | |
<div id="max_number_attachments">{{desk.system.max_attachments}}</div> | |
<div id="system-snippets-add_attachment">{{system.snippets.add_attachment}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if desk.apps.get_satisfaction.enabled %} | |
{{ gsinit }} | |
{% endif %} | |
{% if favicon.size > 0 %} | |
<link rel="SHORTCUT ICON" type='image/ico' href='{{favicon}}' /> | |
<link rel="icon" type='image/png' href='{{favicon}}' /> | |
{% else %} | |
<link rel="icon" type='image/vnd.microsoft.icon' href='{{ "/favicon.ico" | portal_image_url: image_asset_host }}' /> | |
<link rel="icon" type='image/png' href='{{ "/favicon.png" | portal_image_url: image_asset_host }}' /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "email", | |
"subject": "Follow up for case {{case.id}}", | |
"priority": "{{case.priority}}", | |
"status": "open", | |
"labels": [ | |
"Demo Followup" | |
], | |
"custom_fields": { | |
"case_id": "{{case.id}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "is_related_to", | |
"_links": { | |
"to": { | |
"href": "/api/v2/cases/{{case.custom_case_id}}", | |
"class": "case" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(function() { | |
$("#rate_article div:nth-child(1) a").html("{{ system.snippets.yes }}"); | |
$("#rate_article div:nth-child(2) a").html("{{ system.snippets.no }}"); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(function() { | |
var getUrlParameter = function getUrlParameter(sParam) { | |
var sPageURL = decodeURIComponent(window.location.search.substring(1)), | |
sURLVariables = sPageURL.split('&'), | |
sParameterName, | |
i; | |