Skip to content

Commit

Permalink
Craft 2.4.x tabs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed May 2, 2016
1 parent 3ec268d commit 070ed93
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion templates/creator/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3">
<div id="fields" class="pane">
{% if tabs is defined and tabs|length %}
{% include "_includes/tabs" with tabs only %}
{% include "_includes/tabs" %}
{% endif %}

<!-- Site Creatorship -->
Expand Down
2 changes: 1 addition & 1 deletion templates/identity/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3">
<div id="fields" class="pane">
{% if tabs is defined and tabs|length %}
{% include "_includes/tabs" with tabs only %}
{% include "_includes/tabs" %}
{% endif %}

<!-- Site Ownership -->
Expand Down
3 changes: 2 additions & 1 deletion templates/meta/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{% set crumbs = [
{ label: craft.seomatic.getPluginName(), url: url('seomatic') },
{ label: "Template Meta"|t, url: url('seomatic/meta') },
{ label: "Edit"|t, url: url(craft.request.url) },
] %}

{% if craft.app.version < 2.5 %}
Expand Down Expand Up @@ -68,7 +69,7 @@
<div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3">
<div id="fields" class="pane">
{% if tabs is defined and tabs|length %}
{% include "_includes/tabs" with tabs only %}
{% include "_includes/tabs" %}
{% endif %}
{% include "seomatic/meta/_main" %}

Expand Down
4 changes: 0 additions & 4 deletions templates/settings.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
<input type="hidden" name="pluginClass" value="Seomatic">
{{ getCsrfInput() }}

{% if tabs is defined and tabs|length %}
{% include "_includes/tabs" with tabs only %}
{% endif %}

<!-- Settings -->

{{ forms.textField({
Expand Down
2 changes: 1 addition & 1 deletion templates/site/_edit.twig
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div class="item" data-position="left" data-min-colspan="2" data-max-colspan="3">
<div id="fields" class="pane">
{% if tabs is defined and tabs|length %}
{% include "_includes/tabs" with tabs only %}
{% include "_includes/tabs" %}
{% endif %}

<h2>{{ "Site Meta" |t }}</h2>
Expand Down

0 comments on commit 070ed93

Please sign in to comment.