Commit b058db73 authored by Romina Ferrario's avatar Romina Ferrario Committed by Sascha Grossenbacher
Browse files

Issue #3285822 by romina_ferrario: Claro: wrong position of 'preview' link and...

Issue #3285822 by romina_ferrario: Claro: wrong position of 'preview' link and 'request translation' button
parent e5e64eca
Loading
Loading
Loading
Loading
+14 −1
Changes for css/tmgmt.admin.css: 14 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -147,10 +147,23 @@ table.tmgmt-ui-review tbody th {
  margin: 20px 0 0 0;
}

.tmgmt-source-operations-wrapper .form-item-add-all-to-continuous-jobs {
.tmgmt-source-operations-wrapper .form-item-add-all-to-continuous-jobs,
.tmgmt-source-operations-wrapper .form-item--add-all-to-continuous-jobs {
  display: inline-block;
}

.tmgmt-source-operations-wrapper .seven-details__wrapper .form-item-add-all-to-continuous-jobs,
.tmgmt-source-operations-wrapper .seven-details__wrapper .form-item--add-all-to-continuous-jobs {
  margin-bottom: 0.3rem;
  margin-top: 10px;
}

.tmgmt-source-operations-wrapper .claro-details__wrapper .form-item-add-all-to-continuous-jobs,
.tmgmt-source-operations-wrapper .claro-details__wrapper .form-item--add-all-to-continuous-jobs {
  margin-bottom: 1.75rem;
  margin-top: 1rem;
}

.view-tmgmt-node-source-overview .view-filters, .tmgmt-sources-wrapper {
  margin-right: 310px;
}
+10 −3
Changes for css/tmgmt.admin.source_search_form.css: 10 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -17,12 +17,17 @@
  margin-top: 1em;
}

.tmgmt-source-operations-wrapper .request-button {
  margin: 1rem 1rem 0;
}

.tmgmt-source-operations-wrapper .form-item {
  margin-top: 0;
  margin-bottom: 0;
}

.tmgmt-source-operations-wrapper .form-item-target-language {
.tmgmt-source-operations-wrapper .form-item-target-language,
.tmgmt-source-operations-wrapper .form-item--target-language {
  margin-left: 1em;
}

@@ -41,11 +46,13 @@
  flex-flow: row wrap;
}

.tmgmt-source-checkout-wrapper .details-wrapper .form-item-check-target-languages {
.tmgmt-source-checkout-wrapper .details-wrapper .form-item-check-target-languages,
.tmgmt-source-checkout-wrapper .details-wrapper .form-item--check-target-languages {
  width: 100%;
}

.tmgmt-source-checkout-wrapper .details-wrapper .form-item-check-target-languages .check-control a {
.tmgmt-source-checkout-wrapper .details-wrapper .form-item-check-target-languages .check-control a,
.tmgmt-source-checkout-wrapper .details-wrapper .form-item--check-target-languages .check-control a {
  cursor: pointer;
}

+1 −0
Changes for src/Form/JobItemForm.php: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -213,6 +213,7 @@ class JobItemForm extends TmgmtFormBase {
        '#url' => $item->getSourcePlugin()->getPreviewUrl($item),
        '#attributes' => [
          'target' => '_blank',
          'class' => ['action-link'],
        ],
      ];
    }
+3 −0
Changes for src/Form/SourceOverviewForm.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -175,6 +175,9 @@ class SourceOverviewForm extends FormBase {
      '#validate' => array('::validateItemsSelected'),
      '#value' => t('Request translation'),
      '#submit' => array('::submitForm'),
      '#attributes' => [
        'class' => ['request-button'],
      ],
    );

    $form['operations']['checkout']['target_languages'] = [