Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
moved messages to their own constants
  • Loading branch information
mauris authored Apr 20, 2017
commit 64af5b17dcd8776a8a23e9c68cee148b249b9ea3
10 changes: 7 additions & 3 deletions claims/claim.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ var Claim = function () {
// ***********************************************************
// DO NOT CHANGE THE BOTTOM UNLESS YOU KNOW WHAT YOU ARE DOING
// ***********************************************************

var currentHoursClaimedMessage = 'Current hours claimed: ';
var proposedClaimHoursMessage = 'Proposed hours: ';
var claimObjectCreateSuccessMessage = 'Claim object successfully created. Run c.makeAllClaims() to start.';

var ACTIVITY_DICT = {};
// IMPORTANT: Not all categories may be availale for your module!!
Expand Down Expand Up @@ -117,9 +121,9 @@ var Claim = function () {
});

this.ajax_index = 0; // index to keep track of the current ajax call
console.debug('Current hours claimed: ' + this.existing_hours);
console.debug('Proposed hours: ' + this.proposed_hours);
console.debug('Claim object successfully created. Run c.makeAllClaims() to start.');
console.debug(currentHoursClaimedMessage + this.existing_hours);
console.debug(proposedClaimHoursMessage + this.proposed_hours);
console.debug(claimObjectCreateSuccessMessage);
}

Claim.ASSIGNMENT_MARKING = ASSIGNMENT_MARKING;
Expand Down