dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31501
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16059: Mapped up org unit groups in hibernate mapping for EventReport and EventChart
------------------------------------------------------------
revno: 16059
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2014-07-09 17:39:52 +0200
message:
Mapped up org unit groups in hibernate mapping for EventReport and EventChart
modified:
dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventchart/EventChart.hbm.xml
dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventreport/EventReport.hbm.xml
dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm
--
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-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventchart/EventChart.hbm.xml'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventchart/EventChart.hbm.xml 2014-06-17 13:24:01 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventchart/EventChart.hbm.xml 2014-07-09 15:39:52 +0000
@@ -36,6 +36,14 @@
<many-to-one name="relatives" unique="true" class="org.hisp.dhis.period.RelativePeriods" column="relativeperiodsid"
cascade="all-delete-orphan" foreign-key="fk_report_relativeperiodsid" />
+ <list name="organisationUnitGroups" table="reporttable_orgunitgroups">
+ <cache usage="read-write" />
+ <key column="reporttableid" foreign-key="fk_reporttable_orgunitunitgroups_reporttableid" />
+ <list-index column="sort_order" base="0" />
+ <many-to-many column="orgunitgroupid" class="org.hisp.dhis.organisationunit.OrganisationUnitGroup"
+ foreign-key="fk_reporttable_orgunitgroups_orgunitgroupid" />
+ </list>
+
<list name="organisationUnitLevels" table="eventchart_orgunitlevels">
<cache usage="read-write" />
<key column="eventchartid" foreign-key="fk_eventchart_orgunitlevels_eventchartid" />
=== modified file 'dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventreport/EventReport.hbm.xml'
--- dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventreport/EventReport.hbm.xml 2014-05-28 16:54:51 +0000
+++ dhis-2/dhis-services/dhis-service-tracker/src/main/resources/org/hisp/dhis/eventreport/EventReport.hbm.xml 2014-07-09 15:39:52 +0000
@@ -36,6 +36,14 @@
<many-to-one name="relatives" unique="true" class="org.hisp.dhis.period.RelativePeriods" column="relativeperiodsid"
cascade="all-delete-orphan" foreign-key="fk_report_relativeperiodsid" />
+ <list name="organisationUnitGroups" table="reporttable_orgunitgroups">
+ <cache usage="read-write" />
+ <key column="reporttableid" foreign-key="fk_reporttable_orgunitunitgroups_reporttableid" />
+ <list-index column="sort_order" base="0" />
+ <many-to-many column="orgunitgroupid" class="org.hisp.dhis.organisationunit.OrganisationUnitGroup"
+ foreign-key="fk_reporttable_orgunitgroups_orgunitgroupid" />
+ </list>
+
<list name="organisationUnitLevels" table="eventreport_orgunitlevels">
<cache usage="read-write" />
<key column="eventreportid" foreign-key="fk_eventreport_orgunitlevels_eventreportid" />
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2014-07-09 15:04:26 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/security/login.vm 2014-07-09 15:39:52 +0000
@@ -1,5 +1,5 @@
<!DOCTYPE HTML>
-<html>
+<html class="loginPage">
<head>
<title>$!encoder.htmlEncode( ${applicationTitle} )</title>
<meta name="description" content="DHIS 2">