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

make the name of of the routing rule available for editing in the second step of the form [SDESK-6774] #4165

Merged
merged 3 commits into from
Dec 26, 2022
Merged
Show file tree
Hide file tree
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
10 changes: 0 additions & 10 deletions scripts/apps/desks/styles/desks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -512,16 +512,6 @@ $desk-width: 270px;
}
}

.modal_footer_btn{
display: flex;
justify-content: flex-end;
}
.cancelBtn{
display: flex;
gap: 4px;
margin-right: 8px;
}

.members-list {
padding-top: 1rem;
}
Expand Down
12 changes: 6 additions & 6 deletions scripts/apps/ingest/views/settings/ingest-routing-content.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,12 @@ <h3 class="modal__heading" translate ng-hide="editScheme._id" translate>Add New
</div>
</div>
<div class="modal__body-footer">
<div class="modal_footer_btn">
<div class="cancelBtn" ng-if="rule">
<button class="btn" ng-click="cancelRule(rule)" translate>Cancel</button>
<button class="btn btn--primary" ng-click="save()" ng-disabled="!rule.name" translate>Save</button>
</div>
<button class="btn btn--primary" ng-click="done()" ng-disabled="rule" translate>Done</button>
<div class="button-group button-group--end button-group--comfort" role="group">
<span ng-if="rule">
fritzSF marked this conversation as resolved.
Show resolved Hide resolved
<button class="btn" tabindex="0" ng-click="cancelRule(rule)" translate>Cancel</button>
<button class="btn btn--primary" tabindex="1" ng-click="save()" ng-disabled="!rule.name" translate>Save</button>
</span>
<button class="btn btn--primary" tabindex="2" ng-click="done()" ng-disabled="rule" translate>Done</button>
</div>
</div>
</form>
Expand Down
10 changes: 10 additions & 0 deletions styles/sass/sf-additional.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2361,4 +2361,14 @@ sd-multi-image-edit {
justify-content: flex-end;
gap: var(--gap--small);
}
}

.modal.modal--tabs .modal__body-footer .button-group{
fritzSF marked this conversation as resolved.
Show resolved Hide resolved
display: flex;
justify-content: flex-end;
gap: 8px;
span{
display: flex;
gap: 8px;
}
}