I hereby claim:
- I am rruhlen on github.
- I am ruhlen (https://keybase.io/ruhlen) on keybase.
- I have a public key ASDcqnIAZXmbuHyjRtGBjEGx1WmFmJTVzdL93ZWBnhrC_Qo
To claim this, I am signing this object:
<script type="text/javascript" src="//cdn.statuspage.io/se-v2.js"></script> | |
<script type="text/javascript"> | |
$(function() { | |
//set page code for customer | |
var sp = new StatusPage.page({ page: 'XXXXXXXX'}); | |
{% case system.language%} | |
{%when 'de'%} | |
German translation | |
{%when 'es_es'%} | |
Spanish translation | |
{%when 'fr_ca'%} | |
French Canadian translation | |
{%when 'fr_fr'%} | |
French translation | |
{%when 'it'%} |
<script type="text/javascript" src="<js file>"></script> | |
<script type="text/javascript"> | |
$(function() { | |
var sp = new StatusPage.page({ page: '<page id>'}); | |
public with sharing class BatchDeleteArticles implements Database.batchable<SObject>,Database.allowscallouts,Database.Stateful{ | |
private String configId; | |
public BatchDeleteArticles (String configId) { | |
this.configId = configId; | |
} | |
public BatchDeleteArticles () { | |
} |
{% case page %} | |
{% when "page_article" %} | |
<link rel="canonical" href="http://yoursite.desk.com/customer/portal/articles/{{article.id}}" /> | |
{% when "page_topic" %} | |
<link rel="canonical" href="http://yoursite.desk.com/customer/portal/articles/{{topic.id}}" /> | |
{% endcase %} |
I hereby claim:
To claim this, I am signing this object:
.selfServiceArticleLayout .forcePageBlockSectionRow.full { display: none;} | |
.selfServiceArticleLayout .forcePageBlockSectionRow.full:nth-of-type(4) { display: block;} | |
.selfServiceArticleLayout.zoom .article-summary { display: none;} | |
.slds-form_stacked .slds-form-element .slds-form-element__label {display: none;} |
//Attachments Max number vs Copy New | |
$(function() { | |
attachFileUploadFields_new(); | |
if ($("#max_number_attachments").length > 0 && $("#system-snippets-add_attachment").length > 0 && $(".desk_file_upload_new").length > 0) { | |
var max_attachments = parseInt($("#max_number_attachments").text()); | |
var button_text = $("#system-snippets-add_attachment").html(); | |
$("ul#Attachments").append("<li class='addmore'><a href='javascript::void(0)' id='add_attachment_new' class='add_attachment_new' style='display:none;'>" + button_text + "</a></li>"); | |
var content = $(".desk_file_upload_new").html(), index = 2; | |
// ADD ON NEW CLICK | |
$("#add_attachment_new").click(function() { |
{% case page %} | |
{% when 'page_index' %} | |
{% when 'page_search_result' %} | |
{% when 'page_topic' %} | |
{% when 'page_article' %} | |
{% when 'question_new' or 'question_pre_create' %} |
{% case system.language %} | |
{% when 'en_au' %} | |
{% if page == 'page_article' %} | |
AU tag | |
{% endif %} | |
{% when 'en_nz' %} | |
{% if page == 'page_article' %} | |
NZ tag | |
{% endif %} | |
{% endcase %} |