← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21863: minor

 

------------------------------------------------------------
revno: 21863
committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2016-02-03 11:03:04 +0100
message:
  minor
modified:
  dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/buttons-section.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/buttons-section.html'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/buttons-section.html	2016-01-19 09:31:27 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-capture/views/buttons-section.html	2016-02-03 10:03:04 +0000
@@ -1,15 +1,13 @@
-<div style="clear: both;" class="small-vertical-spacing">
-    <button type="button" class="btn btn-warning" ng-click="completeEnrollment()">
-        {{currentEvent.status ? 'event_completed' : 'event_incomplete' | translate}}
-    </button>
+<div style="clear: both;" class="small-vertical-spacing hideInPrint">    
     <span ng-if="editingEventInFull">
-        <button type="button" ng-click="updateEvent()" class="btn btn-primary hideInPrint">{{'update'| translate}}</button>
-        <button type="button" ng-click="cancel()" class="btn btn-default hideInPrint">{{'cancel'| translate}}</button>
+        <button type="button" class="btn btn-warning" ng-click="completeEnrollment()">{{currentEvent.status ? 'event_completed' : 'event_incomplete' | translate}}</button>
+        <button type="button" ng-click="updateEvent()" class="btn btn-primary">{{'update'| translate}}</button>
+        <button type="button" ng-click="cancel()" class="btn btn-default">{{'cancel'| translate}}</button>
     </span>
     <span ng-if="eventRegistration">
         <button type="button" ng-disabled="disableSaveAndAddNew" ng-click="addEvent(true)" class="btn btn-primary hideInPrint">{{'save_and_add_new'| translate}}</button>
-        <button type="button" ng-click="addEvent()" class="btn btn-success hideInPrint">{{'save_and_back'| translate}}</button>
-        <button type="button" ng-click="cancel()" class="btn btn-default hideInPrint">{{'cancel'| translate}}</button>
+        <button type="button" ng-click="addEvent()" class="btn btn-success">{{'save_and_back'| translate}}</button>
+        <button type="button" ng-click="cancel()" class="btn btn-default">{{'cancel'| translate}}</button>
     </span>
     <br><span ng-if="isFormInvalid()" class="horizontal-spacing red">{{'form_invalid' | translate}}</span>
 </div>
\ No newline at end of file