dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32692
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16668: ER dim labels style.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 16668 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-09-09 13:38:31 +0200
message:
ER dim labels style.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/core.js
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/styles/style.css
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js 2014-09-09 10:47:28 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js 2014-09-09 11:36:58 +0000
@@ -1559,12 +1559,12 @@
var showTotals,
showSubTotals,
hideEmptyRows,
+ showDimensionLabels,
limit,
countType,
aggregationType,
showHierarchy,
digitGroupSeparator,
- showDimensionLabels,
displayDensity,
fontSize,
reportingPeriod,
@@ -1598,6 +1598,11 @@
checked: true
});
+ showDimensionLabels = Ext.create('Ext.form.field.Checkbox', {
+ boxLabel: NS.i18n.show_dimension_labels,
+ style: 'margin-bottom:' + checkboxBottomMargin + 'px',
+ });
+
limit = Ext.create('Ext.ux.container.LimitContainer', {
boxLabel: NS.i18n.limit,
sortOrder: 1,
@@ -1631,14 +1636,9 @@
style: 'margin-bottom:' + checkboxBottomMargin + 'px',
});
- showDimensionLabels = Ext.create('Ext.form.field.Checkbox', {
- boxLabel: NS.i18n.show_dimension_labels,
- style: 'margin-bottom:' + checkboxBottomMargin + 'px',
- });
-
displayDensity = Ext.create('Ext.form.field.ComboBox', {
cls: 'ns-combo',
- style: 'margin-top:5px; margin-bottom:' + comboBottomMargin + 'px',
+ style: 'margin-bottom:' + comboBottomMargin + 'px',
width: comboboxWidth,
labelWidth: 130,
fieldLabel: NS.i18n.display_density,
@@ -1699,19 +1699,6 @@
})
});
- //legendSet = Ext.create('Ext.form.field.ComboBox', {
- //cls: 'ns-combo',
- //style: 'margin-bottom:3px',
- //width: comboboxWidth,
- //labelWidth: 130,
- //fieldLabel: NS.i18n.legend_set,
- //valueField: 'id',
- //displayField: 'name',
- //editable: false,
- //value: 0,
- //store: ns.app.stores.legendSet
- //});
-
data = {
bodyStyle: 'border:0 none',
style: 'margin-left:14px',
@@ -1719,6 +1706,7 @@
showTotals,
showSubTotals,
hideEmptyRows,
+ showDimensionLabels,
limit,
countType
//aggregationType
@@ -1737,7 +1725,6 @@
bodyStyle: 'border:0 none',
style: 'margin-left:14px',
items: [
- showDimensionLabels,
displayDensity,
fontSize,
digitGroupSeparator
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/core.js 2014-09-09 10:47:28 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/core.js 2014-09-09 11:36:58 +0000
@@ -2199,7 +2199,7 @@
a.push(getEmptyNameTdConfig({
cls: 'pivot-dim-label',
- htmlValue: ' ' + dimConf.objectNameMap[xLayout.columnObjectNames[i]].name
+ htmlValue: dimConf.objectNameMap[xLayout.columnObjectNames[i]].name
}));
}
else {
=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/styles/style.css'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/styles/style.css 2014-09-09 10:28:12 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/styles/style.css 2014-09-09 11:36:58 +0000
@@ -55,7 +55,6 @@
.x-grid-cell-inner,
.x-form-item-label,
.x-window-header-text-default {
- font-size: 11px;
font-family: arial,sans-serif,ubuntu,consolas;
}