Commit 22cd7b8f authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2407739 by mortendk, davidhernandez, rteijeiro, lduerig,...

Issue #2407739 by mortendk, davidhernandez, rteijeiro, lduerig, sivaji@knackforge.com: Remove classes from system templates r*.html.twig
parent dd8f5660
Loading
Loading
Loading
Loading
+3 −2
Changes for core/modules/quickedit/js/quickedit.js: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -369,9 +369,10 @@
    var entityElement = $(fieldElement).closest(entityElementSelector);
    // In the case of a full entity view page, the entity title is rendered
    // outside of "the entity DOM node": it's rendered as the page title. So in
    // this case, we must find the entity in the mandatory "content" region.
    // this case, we find the main element of the page and use it as a full
    // entity ancestor.
    if (entityElement.length === 0) {
      entityElement = $('.region-content').find(entityElementSelector);
      entityElement = $('.js-quickedit-main-content').find(entityElementSelector);
    }
    var entityInstanceID = entityElement
      .get(0)
+1 −1
Changes for core/modules/system/templates/page.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -70,7 +70,7 @@

  {{ page.help }}

  <main role="main">
  <main role="main" class="js-quickedit-main-content">
    <a id="main-content" tabindex="-1"></a>{# link is in html.html.twig #}

    <div class="layout-content">
+1 −1
Changes for core/modules/system/templates/radios.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -12,4 +12,4 @@
 * @ingroup themeable
 */
#}
<div{{ attributes.addClass('form-radios') }}>{{ children }}</div>
<div{{ attributes }}>{{ children }}</div>
+1 −7
Changes for core/modules/system/templates/region.html.twig: 1 added line, 7 removed lines.
Original line number Diff line number Diff line
@@ -14,14 +14,8 @@
 * @ingroup themeable
 */
#}
{%
  set classes = [
    'region',
    'region-' ~ region|clean_class,
  ]
%}
{% if content %}
  <div{{ attributes.addClass(classes) }}>
  <div{{ attributes }}>
    {{ content }}
  </div>
{% endif %}
+1 −1
Changes for core/themes/bartik/templates/page.html.twig: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@
    <div id="main-wrapper" class="layout-main-wrapper layout-container clearfix">
      <div id="main" class="layout-main clearfix">
        {{ page.breadcrumb }}
        <main id="content" class="column main-content" role="main">
        <main id="content" class="column main-content js-quickedit-main-content" role="main">
          <section class="section">
            <a id="main-content" tabindex="-1"></a>
            {{ title_prefix }}
Loading