dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #43086
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21905: tracker-capture: program attribute category - WIP
------------------------------------------------------------
revno: 21905
committer: Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-02-08 12:15:05 +0100
message:
tracker-capture: program attribute category - WIP
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/event-details.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-tracker-capture/components/dataentry/event-details.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/event-details.html 2016-02-04 10:43:43 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/event-details.html 2016-02-08 11:15:05 +0000
@@ -44,6 +44,20 @@
</div>
<!-- event dates/scheduling end -->
+<div class="row col-sm-12" ng-if="selectedProgram" ng-repeat="category in selectedCategories">
+ <div class="col-sm-6">
+ {{category.name}}
+ </div>
+ <div class="col-sm-6">
+ <select class="form-control"
+ name="option"
+ ng-model="category.selectedOption"
+ ng-options="option as option.name for option in category.categoryOptions"
+ ng-change="getCategoryOptions()">
+ <option value="">{{pleaseSelectLabel}}</option>
+ </select>
+ </div>
+</div>
<!-- coordinates begin -->
<div class="row" ng-if="currentStage.captureCoordinates && currentEvent.eventDate">
<div class="col-md-6">