← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21392: removed buttons from print view

 

------------------------------------------------------------
revno: 21392
committer: jijukjose <jijukjose@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-12-09 16:02:11 +0100
message:
  removed buttons from print view
modified:
  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.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html	2015-12-09 14:58:14 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/components/dataentry/dataentry.html	2015-12-09 15:02:11 +0000
@@ -190,7 +190,7 @@
 
                 <!-- data entry/event buttons begins -->                
                 
-                <div class="form-group" ng-if="displayCustomForm !== 'TABLE'">
+                <div class="form-group hideInPrint" ng-if="displayCustomForm !== 'TABLE'">
                     <div class='row'><hr></div>
                     <a href ng-click="completeIncompleteEvent()" 
                        class="btn btn-warning" 
@@ -223,14 +223,14 @@
                 <div class='row'><hr></div>
                 <div class="add-default-padding">
                     <textarea class="form-control" rows="3" ng-model="note.value" placeholder="{{'add_new_note_here'| translate}}"></textarea> 
-                    <div class="vertical-spacing">
+                    <div class="vertical-spacing hideInPrint">
                         <button type="button" 
                                 class="btn btn-primary"
                                 ng-click="addNote()">
                             {{'add'| translate}}
                         </button>        
                         <button type="button" 
-                                class="btn btn-default small-horizonal-spacing" 
+                                class="btn btn-default small-horizonal-spacing hideInPrint"
                                 ng-click="clearNote()">
                             {{'clear'| translate}}
                         </button>