← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21761: Fixed the positioning of the audit icon for the radio button inputs

 

------------------------------------------------------------
revno: 21761
committer: jijukjose <jijukjose@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2016-01-15 15:56:48 +0100
message:
  Fixed the positioning of the audit icon for the radio button inputs
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.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/defaultForm.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.html	2016-01-15 14:17:24 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/defaultForm.html	2016-01-15 14:56:48 +0000
@@ -495,10 +495,10 @@
                                         <d2-audit dataelement-id="{{de.dataElement.id}}" dataelement-name="{{prStDes[de.dataElement.id].dataElement.name}}"  current-event="{{currentEvent.event}}"></d2-audit>
                                     </span>
                                 </div>
-                                <div ng-switch-when="BOOLEAN" class="form-control">
-
-                                    <label class="radio-inline">
-                                        <span>
+                                <span>
+                                <div ng-switch-when="BOOLEAN">
+                                    <span class="form-control input-with-audit">
+                                        <label class="radio-inline">
                                             <input type="radio"
                                                 ng-model="currentEvent[de.dataElement.id]"
                                                 ng-required={{prStDes[de.dataElement.id].compulsory}}
@@ -507,11 +507,8 @@
                                                 ng-change="saveDatavalue()"
                                                 value="">
                                             {{'no_value'| translate}}
-                                            <d2-audit dataelement-id="{{de.dataElement.id}}" dataelement-name="{{prStDes[de.dataElement.id].dataElement.name}}"  current-event="{{currentEvent.event}}"></d2-audit>
-                                        </span>
-                                    </label>
-                                    <label class="radio-inline">
-                                        <span>
+                                        </label>
+                                        <label class="radio-inline">
                                             <input type="radio"
                                                 ng-model="currentEvent[de.dataElement.id]"
                                                 ng-required={{prStDes[de.dataElement.id].compulsory}}
@@ -520,11 +517,8 @@
                                                 ng-change="saveDatavalue()"
                                                 value="true">
                                             {{'yes'| translate}}
-                                            <d2-audit dataelement-id="{{de.dataElement.id}}" dataelement-name="{{prStDes[de.dataElement.id].dataElement.name}}"  current-event="{{currentEvent.event}}"></d2-audit>
-                                        </span>
-                                    </label>
-                                    <label class="radio-inline">
-                                        <span>
+                                        </label>
+                                        <label class="radio-inline">
                                             <input type="radio"
                                                 ng-model="currentEvent[de.dataElement.id]"
                                                 ng-required={{prStDes[de.dataElement.id].compulsory}}
@@ -533,10 +527,12 @@
                                                 ng-change="saveDatavalue()"
                                                 value="false">
                                                 {{'no'| translate}}
-                                            <d2-audit dataelement-id="{{de.dataElement.id}}" dataelement-name="{{prStDes[de.dataElement.id].dataElement.name}}"  current-event="{{currentEvent.event}}"></d2-audit>
-                                        </span>
-                                    </label>
+                                        </label>
+                                    </span>
+                                    <d2-audit dataelement-id="{{de.dataElement.id}}" dataelement-name="{{prStDes[de.dataElement.id].dataElement.name}}"  current-event="{{currentEvent.event}}"></d2-audit>
                                 </div>
+
+
                                 <div ng-switch-when="DATE">
                                     <span>
                                         <input type="text"