diff --git a/croutonjs/src/css/bmlt_tabs.css b/croutonjs/src/css/bmlt_tabs.css
index 92faefb..f6f4399 100644
--- a/croutonjs/src/css/bmlt_tabs.css
+++ b/croutonjs/src/css/bmlt_tabs.css
@@ -634,3 +634,30 @@ table.tablesaw {
#meeting-details-title {
font-size: 1.5em;
}
+.bmlt-rtl {
+ direction: rtl;
+}
+#bmlt-header.bmlt-rtl {
+ text-align:right;
+}
+#nav-days.bmlt-rtl {
+ float:right;
+}
+#nav-days.bmlt-rtl li {
+ float:right;
+}
+#bmlt-tabs .bmlt-rtl .bmlt-column1 {
+ text-align: right;
+}
+#bmlt-tabs .bmlt-rtl .bmlt-column2 {
+ text-align: right;
+}
+.bmlt-rtl .marker_div_meeting {
+ text-align: right !important;
+}
+.bmlt-rtl #meeting-details-title {
+ text-align: right;
+}
+.bmlt-rtl #meeting-details-contents td {
+ text-align: right !important;
+}
\ No newline at end of file
diff --git a/croutonjs/src/js/crouton-core.js b/croutonjs/src/js/crouton-core.js
index a14d840..c95b011 100644
--- a/croutonjs/src/js/crouton-core.js
+++ b/croutonjs/src/js/crouton-core.js
@@ -888,7 +888,7 @@ function Crouton(config) {
};
self.createBmltMapElement = function() {
if (!document.getElementById('bmlt-map')) {
- jQuery("#bmlt-tabs").before("
");
+ jQuery("#bmlt-tabs").before("");
}
return 'bmlt-map';
}
diff --git a/croutonjs/src/js/crouton-default-templates.js b/croutonjs/src/js/crouton-default-templates.js
index c7ced6b..7ea5e90 100644
--- a/croutonjs/src/js/crouton-default-templates.js
+++ b/croutonjs/src/js/crouton-default-templates.js
@@ -72,7 +72,7 @@ var croutonDefaultTemplates = {
{{getWord "Meeting Details"}}×
-
+
{{> meetingpageTitleTemplate this}}
diff --git a/croutonjs/src/js/crouton-localization.js b/croutonjs/src/js/crouton-localization.js
index 3e05f32..b1f4258 100644
--- a/croutonjs/src/js/crouton-localization.js
+++ b/croutonjs/src/js/crouton-localization.js
@@ -38,8 +38,7 @@ function CroutonLocalization(language) {
LS: "خدمة المنتديات المحلية",
GS: "Group Support Forum",
},
- 'css-textalign': 'style="text-align:right;"',
- 'css-floatdirection': 'style="float:right;"',
+ "css-direction": 'bmlt-rtl',
"share": "مشاركة",
'tabular': "جدول",
'google_directions': 'اتجاهات جوجل للاجتماع',
@@ -524,8 +523,7 @@ function CroutonLocalization(language) {
'tabular': "As table",
'google_directions': 'Google directions to meeting',
"no_meetings_for_this_day": "No meetings for this day.",
- 'css-textalign': 'style="text-align:right;"',
- 'css-floatdirection': 'style="float:right;"',
+ "css-direction": 'bmlt-rtl',
'all': 'All',
'menu': "Menu",
'search for meetings': 'Search for meetings',
@@ -926,7 +924,10 @@ CroutonLocalization.prototype.getDayOfTheWeekWord = function(day_id) {
CroutonLocalization.prototype.getWord = function(word) {
const ret = this.words[this.language][word.toLowerCase()];
- if (typeof ret === 'undefined') return word;
+ if (typeof ret === 'undefined') {
+ if (word === 'css-direction') return '';
+ return word;
+ }
return ret;
};
diff --git a/croutonjs/src/templates/byday.hbs b/croutonjs/src/templates/byday.hbs
index 5dc3ea6..f94fc9e 100644
--- a/croutonjs/src/templates/byday.hbs
+++ b/croutonjs/src/templates/byday.hbs
@@ -1,5 +1,5 @@
-
+
{{#each this}}
{{#unless this.hide}}
diff --git a/croutonjs/src/templates/byfield.hbs b/croutonjs/src/templates/byfield.hbs
index c1e3dd0..5ad617d 100644
--- a/croutonjs/src/templates/byfield.hbs
+++ b/croutonjs/src/templates/byfield.hbs
@@ -1,5 +1,5 @@
|