This file contains hidden or 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> | |
(function(a){function E(a,b,c,d){var e=c.lang();return e[a].call?e[a](c,d):e[a][b]}function F(a,b){return function(c){return K(a.call(this,c),b)}}function G(a){return function(b){var c=a.call(this,b);return c+this.lang().ordinal(c)}}function H(a,b,c){this._d=a,this._isUTC=!!b,this._a=a._a||null,this._lang=c||!1}function I(a){var b=this._data={},c=a.years||a.y||0,d=a.months||a.M||0,e=a.weeks||a.w||0,f=a.days||a.d||0,g=a.hours||a.h||0,h=a.minutes||a.m||0,i=a.seconds||a.s||0,j=a.milliseconds||a.ms||0;this._milliseconds=j+i*1e3+h*6e4+g*36e5,this._days=f+e*7,this._months=d+c*12,b.milliseconds=j%1e3,i+=J(j/1e3),b.seconds=i%60,h+=J(i/60),b.minutes=h%60,g+=J(h/60),b.hours=g%24,f+=J(g/24),f+=e*7,b.days=f%30,d+=J(f/30),b.months=d%12,c+=J(d/12),b.years=c,this._lang=!1}function J(a){return a<0?Math.ceil(a):Math.floor(a)}function K(a,b){var c=a+"";while(c.length<b)c="0"+c;return c}function L(a,b,c){var d=b._milliseconds,e=b._days,f=b._months,g;d&&a._d.setTime(+a+d*c),e&&a.date(a.date()+e*c),f&&(g=a.date(),a.date |
This file contains hidden or 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
<div id='breadcrumbs'> | |
<a href='{{desk.system.links.home}}'>{{system.snippets.home}}</a> | |
{% unless article.id == 192318 or article.id == 192318 or article.id == 214892 or article.id == 214892 or article.id == 592064 or article.id == 532027 or article.id == 592065 or article.id == 443527 %} | |
› <a href='{{ topic.public_articles_url }}'>{{ topic.name | clip:30 }}</a> | |
{% endunless %} | |
› {{ article.subject_plain | clip:30 }} | |
</div> |
This file contains hidden or 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
#a-content-select { | |
display: none; | |
} |
This file contains hidden or 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
<div id="desk-external-variables-page_index" class="desk-external-variables"> | |
<div id="system-snippets-just_moderated">{{just_moderated}}</div> | |
</div> | |
{{ search_form_begin }} | |
<div class='outer'> | |
<div class='inner'> | |
<input type='text' id='q' name='q' maxlength='100' value='' /> | |
{{template_form_params}} | |
<div id='question-mask' class='question-big'>{{system.snippets.have_a_question}}</div> |
This file contains hidden or 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.current_brand.name == "Home" %} | |
<ul> | |
{% for cur_brand in desk.brands %} | |
<li><a href="{{ cur_brand.public_url }}">{{ cur_brand.name }}</a></li> | |
{% endfor %} | |
</ul> | |
{% else %} | |
<!-- Normal code --> | |
{% endif %} |
This file contains hidden or 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
<!-- HTML --> | |
<div class="form-group div-category"> | |
<label for="ticket_custom_category" class="control-label">Category ({{system.snippets.required}}):</label> | |
{{ ticket_custom_category }} | |
</div> | |
<div class="form-group div-favorite-color"> | |
<label for="customer_custom_favorite_color" class="control-label">Favorite Color ({{system.snippets.required}}):</label> | |
{{ customer_custom_favorite_color }} | |
</div> |
This file contains hidden or 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> | |
$(function() { | |
$(".rate_link").click(function() { | |
$("#rate_article").hide(); | |
$("#rate_article_container").html("Custom message"); | |
}); | |
}); | |
</script> |
This file contains hidden or 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
<input name="confirm_email" id="confirm_email"> | |
<script> | |
$(function() { | |
$("#confirm_email").rules("add", { required:true, equalTo: "#interaction_email" }); | |
}); | |
</script> |
This file contains hidden or 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
... | |
<ul class='case-data'> | |
<li> | |
<strong>{{desk.system.snippets.case_id}}:</strong> | |
<span>{{case.id}}</span> | |
</li> | |
<li> | |
<strong>{{desk.system.snippets.assigned_agent}}:</strong> | |
<span>{{case.user.name_public | show_something: desk.system.snippets.unassigned}}</span> |
This file contains hidden or 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> | |
$(function() { | |
$("#id_of_field").rules("add", { | |
required: true, | |
minlength: 9 | |
}); | |
}); | |
</script> |