Skip to content

Commit 94c58b7

Browse files
feature(REPORT-461761): Bold Reports 11.1 Release Changes
1 parent 71b147e commit 94c58b7

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

build/templates/common/index.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff 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

build/templates/common/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

build/templates/common/index.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ import './index.css';
1414
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.common.min';
1515
import '@boldreports/javascript-reporting-controls/Scripts/v2.0/common/bold.reports.widgets.min';
1616
import '@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';
1726
import '@boldreports/javascript-reporting-controls/Content/v2.0/tailwind-light/bold.report-viewer.min.css';
1827

1928
//report-designer

build/templates/report-designer/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

156155
function getReportName() {

build/templates/report-designer/rdlc/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

156155
function getReportName() {

0 commit comments

Comments
 (0)