dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #39923
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20222: event-capture: minor formatting in event grid values display
------------------------------------------------------------
revno: 20222
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-09-18 09:55:59 +0200
message:
event-capture: minor formatting in event grid values display
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/eventList.html
--
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-capture/views/eventList.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/eventList.html 2015-09-08 09:15:23 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/eventList.html 2015-09-18 07:55:59 +0000
@@ -123,19 +123,17 @@
<!-- Visible when event is not under editing -->
<div d2-context-menu
ng-click="showEventList(dhis2Event)"
- ng-show="currentEvent.event !== dhis2Event.event && eventGridColumn.id !== 'comment'">
+ ng-show="currentEvent.event !== dhis2Event.event && eventGridColumn.id !== 'comment'">
<span ng-switch="eventGridColumn.valueType">
<span ng-switch-when="BOOLEAN">
<span ng-if="dhis2Event[eventGridColumn.id] == 'false'">{{noLabel}}</span>
<span ng-if="dhis2Event[eventGridColumn.id] == 'true'">{{yesLabel}}</span>
</span>
+ <span ng-switch-when="TRUE_ONLY">
+ <span ng-if="dhis2Event[eventGridColumn.id]"><i class="fa fa-check"></i></span>
+ </span>
<span ng-switch-default>
- <span ng-if="dhis2Event[eventGridColumn.id]">
- {{dhis2Event[eventGridColumn.id]}}
- </span>
- <span ng-if="!dhis2Event[eventGridColumn.id]">
-
- </span>
+ {{dhis2Event[eventGridColumn.id]}}
</span>
</span>
</div>