File tree Expand file tree Collapse file tree 5 files changed +27
-4
lines changed
Expand file tree Collapse file tree 5 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,12 @@ body {
181181 background-color : rgba (0 , 0 , 0 , 0.4 );
182182}
183183
184+ # r-w-property-languages {
185+ font-size : 13px ;
186+ font-weight : 500 ;
187+ margin-right : 39px ;
188+ }
189+
184190# r-w-property-name-category {
185191 margin-top : 5px ;
186192}
@@ -265,6 +271,8 @@ body {
265271 border-bottom : 1px solid # c8c8c8 ;
266272}
267273
274+ # languages_hidden ,
275+ # languages_dropdown ,
268276# category_hidden ,
269277# category_dropdown ,
270278# subcategory_hidden ,
@@ -296,7 +304,8 @@ body {
296304@media only screen and (max-width : 1080px ) {
297305
298306 # r-w-property-name ,
299- # r-w-property-name-category {
307+ # r-w-property-name-category ,
308+ # r-w-property-languages {
300309 display : none;
301310 }
302311
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ <h1 class="ej-preview-platform-name">Bold Reports<sup>®</sup> for JavaScript</h
100100 }
101101
102102 function setReportsHeight ( ) {
103- if ( location . href . includes ( '/preview' ) && location . href . includes ( '/external-parameter-report' ) ) {
103+ if ( isExternalParameter ( ) ) {
104104 let style = document . getElementById ( 'reports-style' ) ;
105105 if ( ! style ) {
106106 style = document . createElement ( 'style' ) ;
@@ -116,6 +116,13 @@ <h1 class="ej-preview-platform-name">Bold Reports<sup>®</sup> for JavaScript</h
116116 }
117117
118118 }
119+ function isExternalParameter ( ) {
120+ const externalParameterSamples = [
121+ '/external-parameter-report' ,
122+ '/multi-language-report'
123+ ] ;
124+ return externalParameterSamples . some ( path => location . href . includes ( path ) ) && location . href . includes ( '/preview' ) ;
125+ }
119126</ script >
120127
121128</ html >
Original file line number Diff line number Diff line change @@ -14,6 +14,15 @@ import './index.css';
1414import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.common.min' ;
1515import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.widgets.min' ;
1616import '@boldreports/javascript-reporting-controls/Scripts/v2.0/bold.report-viewer.min' ;
17+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.en-US.min.js' ;
18+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.fr-CA.min.js' ;
19+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.de-DE.min.js' ;
20+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.hi-IN.min.js' ;
21+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.es-ES.min.js' ;
22+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.nl-NL.min.js' ;
23+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.ko-KR.min.js' ;
24+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.he-IL.min.js' ;
25+ import '@boldreports/javascript-reporting-controls/Scripts/v2.0/localization/l10n/ej.localetexts.ru-RU.min.js' ;
1726import '@boldreports/javascript-reporting-controls/Content/v2.0/tailwind-light/bold.report-viewer.min.css' ;
1827
1928//report-designer
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ function updateDescription() {
150150 title += ' | JavaScript Report Designer' ;
151151 const titleWithBoldReports = ( title . length < 45 ) ? title += ' | Bold Reports' : title ;
152152 document . title = titleWithBoldReports ;
153- document . querySelector ( 'meta[property="og:title"]' ) . setAttribute ( 'content' , titleWithBoldReports ) ;
154153}
155154
156155function getReportName ( ) {
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ function updateDescription() {
150150 title += ' | JavaScript Report Designer' ;
151151 const titleWithBoldReports = ( title . length < 45 ) ? title += ' | Bold Reports' : title ;
152152 document . title = titleWithBoldReports ;
153- document . querySelector ( 'meta[property="og:title"]' ) . setAttribute ( 'content' , titleWithBoldReports ) ;
154153}
155154
156155function getReportName ( ) {
You can’t perform that action at this time.
0 commit comments