dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #04126
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1362: Minor fix
------------------------------------------------------------
revno: 1362
committer: Lars Helge Oeverland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Thu 2010-01-28 19:15:01 +0100
message:
Minor fix
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.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-dataentry/src/main/webapp/dhis-web-dataentry/history.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.vm 2009-12-23 07:35:17 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/history.vm 2010-01-28 18:15:01 +0000
@@ -40,10 +40,12 @@
<br><br>
<h4>$i18n.getString( "followup" )</h4>
- #if ( $dataValue.isFollowup() )
+ #if ( $dataValue && $dataValue.isFollowup() )
<img id="followup" src="../images/marked_large.png" alt="$i18n.getString( 'mark_value_for_followup' )" onclick="markValueForFollowup( '$dataValue.dataElement.id', '$dataValue.period.id', '$dataValue.source.id', '$dataValue.optionCombo.id' )" style="cursor:pointer">
- #else
+ #elseif ( $dataValue )
<img id="followup" src="../images/unmarked_large.png" alt="$i18n.getString( 'unmark_value_for_followup' )" onclick="markValueForFollowup( '$dataValue.dataElement.id', '$dataValue.period.id', '$dataValue.source.id', '$dataValue.optionCombo.id' )" style="cursor:pointer">
+ #else
+ <img id="followup" src="../images/unmarked_large.png">
#end
</td>
<!-- Column 2 - Min-max -->