dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22790
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11067: Move View Access History link in dashboard to the right side.
------------------------------------------------------------
revno: 11067
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2013-05-29 12:24:13 +0700
message:
Move View Access History link in dashboard to the right side.
modified:
dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/hibernate/HibernatePatientStore.java
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/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-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/hibernate/HibernatePatientStore.java'
--- dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/hibernate/HibernatePatientStore.java 2013-05-29 04:50:23 +0000
+++ dhis-2/dhis-services/dhis-service-patient/src/main/java/org/hisp/dhis/patient/hibernate/HibernatePatientStore.java 2013-05-29 05:24:13 +0000
@@ -615,7 +615,7 @@
}
else
{
- orderBy = " ORDER BY duedate asc ";
+ orderBy = " ORDER BY p.patientid, p.firstname, p.middlename, p.lastname, duedate asc ";
}
sql = sql + subSQL + from + " inner join programinstance pgi on " + " (pgi.patientid=p.patientid) "
+ " inner join programstageinstance psi on " + " (psi.programinstanceid=pgi.programinstanceid) "
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2013-05-28 07:09:29 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2013-05-29 05:24:13 +0000
@@ -1,11 +1,11 @@
-<h3>
- <a name="mainPagelink" href="javascript:onClickBackBtn();">$i18n.getString( 'patient_management' )</a>
- • $i18n.getString( 'patient_dashboard' )
- » <a href="javascript:dashboardHistoryToggle();" >$i18n.getString( 'access_log' )</a>
-</h3>
-
<div class='dashboard-area'>
<table>
+ <tr>
+ <td colspan='3'>
+ <h3><a name="mainPagelink" href="javascript:onClickBackBtn();">$i18n.getString( 'patient_management' )</a>
+ • $i18n.getString( 'patient_dashboard' )</h3>
+ </td>
+ <td><span style="float:right;"><h4><a href="javascript:dashboardHistoryToggle();" >$i18n.getString( 'access_log' )</a></h4></span></td>
<tr>
#if( $auth.hasAccess( "dhis-web-caseentry", "accessPatientAttributes" ) )
<td>
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css 2013-04-12 08:25:43 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css 2013-05-29 05:24:13 +0000
@@ -482,7 +482,7 @@
height:200px;
position:absolute;
left:650px;
- top:95px;
+ top:115px;
background-color:#ffffff;
border:1px solid #d0d0d0;
padding-top:1px;