projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #6877 from saurabhbatra96/comment-fixes-utils
[civicrm-core.git]
/
templates
/
CRM
/
Admin
/
Form
/
Preferences
/
Display.tpl
diff --git
a/templates/CRM/Admin/Form/Preferences/Display.tpl
b/templates/CRM/Admin/Form/Preferences/Display.tpl
index de6c92fb271f2effe03cd12190ee04b475ca10a4..505aa385ffe138661609d34ebfc10736c2e6093a 100644
(file)
--- a/
templates/CRM/Admin/Form/Preferences/Display.tpl
+++ b/
templates/CRM/Admin/Form/Preferences/Display.tpl
@@
-1,6
+1,6
@@
{*
+--------------------------------------------------------------------+
{*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
6
|
+ | CiviCRM version 4.
7
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
@@
-155,7
+155,14
@@
</tr>
<tr class="crm-preferences-display-form-block-editor_id">
<td class="label">{$form.editor_id.label}</td>
</tr>
<tr class="crm-preferences-display-form-block-editor_id">
<td class="label">{$form.editor_id.label}</td>
- <td>{$form.editor_id.html}</td>
+ <td>
+ {$form.editor_id.html}
+
+ <span class="crm-button crm-icon-button" style="display:inline-block;vertical-align:middle;float:none!important;">
+ <span class="crm-button-icon ui-icon-gear"> </span>
+ {$form.ckeditor_config.html}
+ </span>
+ </td>
</tr>
<tr class="crm-preferences-display-form-block-description">
<td> </td>
</tr>
<tr class="crm-preferences-display-form-block-description">
<td> </td>
@@
-228,6
+235,11
@@
placeholder: 'ui-state-highlight',
update: getSorting
});
placeholder: 'ui-state-highlight',
update: getSorting
});
+
+ function showCKEditorConfig() {
+ $('.crm-preferences-display-form-block-editor_id .crm-button').toggle($(this).val() == 'CKEditor');
+ }
+ $('select[name=editor_id]').each(showCKEditorConfig).change(showCKEditorConfig);
});
</script>
{/literal}
});
</script>
{/literal}