Skip to content

Commit c49ce27

Browse files
committed
Merge branch 'v3' of https://github.com/craftcms/cms into develop
# Conflicts: # CHANGELOG.md # src/translations/en/app.php [ci skip]
2 parents b1ee3e6 + 0eef7d0 commit c49ce27

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/templates/_components/utilities/Migrations.twig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{% import "_includes/forms" as forms %}
22

3+
{% if not newMigrations %}
4+
<p class="zilch">{{ 'No pending content migrations.'|t('app') }}</p>
5+
{% endif %}
6+
37
{% if newMigrations or migrationHistory %}
48
{% if newMigrations %}
59
<form method="post" accept-charset="UTF-8" action="" class="buttons">
610
{{ csrfInput() }}
711
{{ actionInput('utilities/apply-new-migrations') }}
812
<button type="submit" class="btn submit">{{ 'Apply new migrations'|t('app') }}</button>
913
</form>
10-
{% else %}
11-
<p>{{ 'No pending content migrations.'|t('app') }}</p>
1214
{% endif %}
1315

1416
<table class="data fullwidth">
@@ -38,6 +40,4 @@
3840
{% endfor %}
3941
</tbody>
4042
</table>
41-
{% else %}
42-
<p>{{ 'No content migrations.'|t('app') }}</p>
4343
{% endif %}

src/translations/en/app.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,6 @@
953953
'No GraphQL tokens exist yet.' => 'No GraphQL tokens exist yet.',
954954
'No blocks.' => 'No blocks.',
955955
'No category groups exist yet.' => 'No category groups exist yet.',
956-
'No content migrations.' => 'No content migrations.',
957956
'No deprecation warnings to report!' => 'No deprecation warnings to report!',
958957
'No entries exist yet.' => 'No entries exist yet.',
959958
'No entry types exist for this section.' => 'No entry types exist for this section.',

0 commit comments

Comments
 (0)