dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20526
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9397: Minor fix for history person in dashboard.
------------------------------------------------------------
revno: 9397
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-12-26 15:02:16 +0700
message:
Minor fix for history person in dashboard.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.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-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 2012-12-21 09:23:20 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2012-12-26 08:02:16 +0000
@@ -193,21 +193,33 @@
<br>
<div id='programEnrollmentDiv' class='hidden'></div>
<div id='dataEntryFormDiv'></div>
-<div id='dashboardHistoryDiv' class="dashboard-history" style="display:none;">
- <table width="100%">
+<div id='dashboardHistoryDiv' class="dashboard-history" style="display:none;height:250px;width:300px;">
+ <table width="300px;">
+ <colgroup>
+ <col width="150px">
+ <col>
+ </colgroup>
<tr>
+ <th>$i18n.getString("date")</th>
<th>$i18n.getString("visitor")</th>
- <th>$i18n.getString("date")</th>
- </tr>
- #set( $mark = false )
- #foreach( $patientAudit in $patientAudits )
- <tr #alternate( $mark )>
- <td>$encoder.htmlEncode($patientAudit.visitor)</td>
- <td>$format.formatDate($patientAudit.date)</td>
- </tr>
- #set( $mark = !$mark )
- #end
+ </tr>
</table>
+ <div style="height:200px;width:300px;overflow:auto">
+ <table width='280px'>
+ <colgroup>
+ <col width="150px">
+ <col>
+ </colgroup>
+ #set( $mark = false )
+ #foreach( $patientAudit in $patientAudits )
+ <tr #alternate( $mark )>
+ <td>$format.formatDate($patientAudit.date)</td>
+ <td>$encoder.htmlEncode($patientAudit.visitor)</td>
+ </tr>
+ #set( $mark = !$mark )
+ #end
+ </table>
+ </div>
</div>
<script>