Update locales, fixed JS error

This commit is contained in:
Vokhmin Alexey V 2014-06-02 12:55:58 +04:00
parent 07014f1cc9
commit fbc1bf79bb
3 changed files with 7 additions and 6 deletions

View File

@ -9,10 +9,11 @@ RosaABF.controller('ProjectScheduleController', ['$scope', '$http', function($sc
$scope.items = [];
$scope.updateStatus = function() {
$http.put(
Routes.project_path($scope.name_with_owner),
{project: {autostart_status: $scope.autostart_status}, format: 'json'}
);
$http({
method: 'PATCH',
url: Routes.project_path($scope.name_with_owner),
data: { project: {autostart_status: $scope.autostart_status} }
});
}
$scope.updateSchedule = function(obj) {

View File

@ -71,4 +71,4 @@ en:
updated_at: Updated
owner: Owner
synchronizing_publications: Publish only on success all build_lists for each arch (checking by commit hash)
forbid_to_publish_builds_not_from: "Forbid to publish builds not from branch"
forbid_to_publish_builds_not_from: "Publish builds only from branch"

View File

@ -71,5 +71,5 @@ ru:
updated_at: Обновлен
owner: Владелец
synchronizing_publications: Публиковать сборочные листы только при успешной сборке под каждую архитектуру (проверка по хэшу коммита)
forbid_to_publish_builds_not_from: "Запрет на публикацию сборок не из ветки"
forbid_to_publish_builds_not_from: "Публикация сборок только из ветки"