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
<div class="agent_company_section"> | |
<div class="agent_company_section"> | |
<span class="agent_company_section_label label_custom label_custom_company_status">Parent Company</span> | |
<div class="agent_company_section_data"> | |
<select class="default custom_field_string " id="company_custom1" maxlength="100" name="company[custom1]"> | |
{% capture current %} | |
<option>{{company.custom_parent_company}}</option>{% endcapture %} {% capture options %} | |
<option>Google</option> |
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
{{ ticket_custom_hardware_platform_type | replace: 'value="--Select One--"', 'value=""' }} |
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
<div id="topic-details"> | |
<label for="interaction_topic_details">Topic Details <span class="muted">({{system.snippets.required}})</span></label> | |
<textarea class="input-block-level" id="ticket_custom_key" maxlength="255" name="ticket[custom_key]" cols="6" rows="6">{{ticket.custom_key}}</textarea> | |
</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
<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 topics_count > 0 %} | |
{% for topic in topics %} | |
{% if current_user.customer.custom_key == 'True' %} | |
{% if topic.id == 393291 or topic.id == 546987 %} | |
div class="desk-topic desk-topic-{{ topic.id }}"> | |
<h3> | |
<a href='{{ topic.public_articles_url }}'>{{ topic.name }}</a></h3> | |
<ul> | |
{% for article in topic.articles limit:5 %} | |
<li> |
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
The latest version of the Desk.com responsive web theme can be found at https://gist.github.com/DeskWOW/6678951 |
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
<div id="desk-external-variables-page_index" class="desk-external-variables"> | |
<div id="system-snippets-just_moderated">{{just_moderated}}</div> | |
</div> | |
{% if site.questions_enabled_config %} | |
<div id="desk-support-index"> | |
{%else%} | |
<div id="desk-support-index" class="no-qna"> | |
{% endif %} |
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
1. Place Linkify.js file in header section of layout. | |
<script src="https://desk-customers.s3.amazonaws.com/shared/desk.linkify.js"></script> | |
2. Place javascript in Q&A Show section of layout. | |
<script type='text/javascript'> | |
$(function(){ | |
$(".qna-top p").linkify(); | |
$(".qna-reply p").linkify(); | |
$(".qna-top p a, .qna-reply p a").attr( 'target', '_blank'); |
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
<div id="company-field"> | |
<label for="company_field">Company</label> | |
<textarea class="input-block-level" id="customer.company_custom_key" maxlength="255" name="customer.company[custom_key]" cols="6" rows="6">{{customer.company.custom_key}}</textarea> | |
</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
1. Create a new Template | |
2. Go the "Advanced Themes" | |
3. Select "Edit in Source Mode" | |
4. Replace the "Header" code from the "02 Header" code below. | |
5. Replace the "Body" code from the "03 Body" code below. |