frontend translation + other stuff

This commit is contained in:
lordwilbur
2018-05-18 00:03:30 +02:00
committed by Nabeel Shahzad
parent ba8a819c7d
commit a346b0df2e
54 changed files with 966 additions and 771 deletions

View File

@@ -26,11 +26,11 @@ $(document).ready(function () {
if(params.method === 'DELETE') {
console.log('successfully removed flight');
btn.removeClass(class_name);
alert('Your bid was removed');
alert('@lang("frontend.flights.bidremoved")');
} else {
console.log('successfully saved flight');
btn.addClass(class_name);
alert('Your bid was added');
alert('@lang("frontend.flights.bidadded")');
}
})
.catch(error => {