File tree Expand file tree Collapse file tree
x-pack/legacy/plugins/canvas
canvas_plugin_src/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ import { applyTemplateStrings } from '../../i18n/templates';
77
88import darkTemplate from './theme_dark.json' ;
99import lightTemplate from './theme_light.json' ;
10- import pitchTemplate from './pitch_presentation.json' ;
10+ // import pitchTemplate from './pitch_presentation.json';
1111import statusTemplate from './status_report.json' ;
1212import summaryTemplate from './summary_report.json' ;
1313
1414// Registry expects a function that returns a spec object
1515export const templateSpecs = applyTemplateStrings ( [
1616 darkTemplate ,
1717 lightTemplate ,
18- pitchTemplate ,
18+ // pitchTemplate,
1919 statusTemplate ,
2020 summaryTemplate ,
2121] ) ;
Original file line number Diff line number Diff line change @@ -37,14 +37,6 @@ export const getTemplateStrings = (): TemplateStringDict => ({
3737 defaultMessage : 'Light color themed presentation deck' ,
3838 } ) ,
3939 } ,
40- Pitch : {
41- name : i18n . translate ( 'xpack.canvas.templates.pitchName' , {
42- defaultMessage : 'Pitch' ,
43- } ) ,
44- help : i18n . translate ( 'xpack.canvas.templates.pitchHelp' , {
45- defaultMessage : 'Branded presentation with large photos' ,
46- } ) ,
47- } ,
4840 Status : {
4941 name : i18n . translate ( 'xpack.canvas.templates.statusName' , {
5042 defaultMessage : 'Status' ,
@@ -62,3 +54,14 @@ export const getTemplateStrings = (): TemplateStringDict => ({
6254 } ) ,
6355 } ,
6456} ) ;
57+
58+ export const getUnusedTemplateStrings = ( ) : TemplateStringDict => ( {
59+ Pitch : {
60+ name : i18n . translate ( 'xpack.canvas.templates.pitchName' , {
61+ defaultMessage : 'Pitch' ,
62+ } ) ,
63+ help : i18n . translate ( 'xpack.canvas.templates.pitchHelp' , {
64+ defaultMessage : 'Branded presentation with large photos' ,
65+ } ) ,
66+ } ,
67+ } ) ;
You can’t perform that action at this time.
0 commit comments