← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21411: Formatted the printing div

 

------------------------------------------------------------
revno: 21411
committer: jijukjose <jijukjose@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-12-10 14:40:47 +0100
message:
  Formatted the printing div
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-print.html
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.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/dataentry-print.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-print.html	2015-12-10 13:33:27 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry-print.html	2015-12-10 13:40:47 +0000
@@ -1,10 +1,10 @@
-<div class="not-for-screen">
+<div id="print-div" class="not-for-screen">
   <table class="table table-bordered table-compact">
-    <tr ng-repeat="attribute in selectedTei.attributes" ng-show="attribute.show">
-      <td class="bold">
+    <tr class="col-md-12" ng-repeat="attribute in selectedTei.attributes" ng-show="attribute.show">
+      <td class="col-md-6 bold">
         {{attribute.displayName}}
       </td>
-      <td>
+      <td class="col-md-6">
      <span ng-switch="attribute.type">
         <span ng-switch-when="bool">
           <span ng-if="attribute.value === 'true'">{{'yes' | translate}}</span>
@@ -35,7 +35,7 @@
         {{selectedProgram.enrollmentDateLabel}}
       </td>
       <td class="col-md-6">
-        <input type="text" value={{selectedEnrollment.enrollmentDate}} ng-disabled="true"/>
+        {{selectedEnrollment.enrollmentDate}}
       </td>
     </tr>
     <tr class="col-md-12" ng-if="selectedProgram.displayIncidentDate">
@@ -43,7 +43,7 @@
         {{selectedProgram.incidentDateLabel}}
       </td>
       <td class="col-md-6">
-        <input type="text" value={{selectedEnrollment.incidentDate}} ng-disabled="true"/>
+        {{selectedEnrollment.incidentDate}}
       </td>
     </tr>
   </table>

=== modified file 'dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html	2015-12-10 13:33:27 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html	2015-12-10 13:40:47 +0000
@@ -1,4 +1,4 @@
-<div id="print-div" class="panel panel-info" ng-controller="DataEntryController">
+<div class="panel panel-info" ng-controller="DataEntryController">
     <div ng-include="'components/dataentry/dataentry-print.html'">
     </div>
     <div class="panel-heading handle bold">