Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #6912/BZ 1126446 - Sync Plan enabled by default, #4651

Merged

Conversation

xprazak2
Copy link
Member

checkbox to disable on edit

@@ -29,7 +29,7 @@ angular.module('Bastion.sync-plans').controller('SyncPlanDetailsInfoController',
function ($scope, $q, translate, SyncPlan, MenuExpander) {
$scope.successMessages = [];
$scope.errorMessages = [];
$scope.intervals = ['none', 'hourly', 'daily', 'weekly'];
$scope.intervals = [translate('hourly'), translate('daily'), translate('weekly')];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you want to mark these for translation as they need to match up with these: https://github.com/Katello/katello/pull/4651/files#diff-cbbf4a31420b097c086fac10249ad959L25

Poor design to use a string that is then displayed to the user. In order to get these translated we could use a filter, but I am fine doing that in another PR. For this PR, please just revert this line.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not realize, it should be fixed now.

@xprazak2 xprazak2 force-pushed the bug6912-sync-plan-model-change branch from 33f20ba to 829a49d Compare September 17, 2014 08:46
@@ -1478,3 +1478,7 @@ ul {
list-style: none;
margin: 0;
}

.gray{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this used anywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When sync plan is disabled, interval on details page is in gray

@xprazak2 xprazak2 force-pushed the bug6912-sync-plan-model-change branch from 829a49d to 9291c47 Compare September 23, 2014 07:00
@xprazak2
Copy link
Member Author

Error message should be fixed now

@waldenraines
Copy link
Contributor

ACK

waldenraines pushed a commit that referenced this pull request Sep 23, 2014
Fixes #6912/BZ 1126446 - Sync Plan enabled by default,
@waldenraines waldenraines merged commit 93ce313 into Katello:master Sep 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants