Skip to content

Commit

Permalink
Build release
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Jun 8, 2024
1 parent 62b48ef commit 511faf3
Show file tree
Hide file tree
Showing 26 changed files with 136 additions and 786 deletions.
8 changes: 0 additions & 8 deletions .editorconfig

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/build.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/js.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/php.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/workflows/release.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .gitignore

This file was deleted.

5 changes: 5 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# 3.0.3
- [Update composer.json](/62b48ef)
- [feat: add debug info to subject (#69)](/262a95a)
- [Update MailFinderService.php](/f2c09a4)
- [Update MailFinderService.php](/095c6b2)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.sw-mail-template-detail__options-info-wrapper .sw-field,.sw-mail-template-detail .sw-code-editor{margin-bottom:5px}.sw-mail-template-detail .sw-code-editor+.sw-label{margin-bottom:32px}
130 changes: 130 additions & 0 deletions src/Resources/public/administration/js/frosh-platform-template-mail.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
(()=>{var l=`{% block sw_mail_template_list_grid %}
<sw-card
:title="$tc('sw-mail-template.list.titleMailTemplateList')"
position-identifier="sw-mail-template-list"
>
<template>
{% block sw_mail_template_list_grid_empty_state %}
<sw-empty-state
v-if="!isLoading && !showListing"
:title="$tc('sw-mail-template.list.emptyStateTitle')"
:subline="$tc('sw-mail-template.list.emptyStateSubTitle')"
:absolute="false"
>
{% block sw_mail_template_list_grid_empty_state_icon %}
<template #icon>
<img
:src="'/administration/static/img/empty-states/settings-empty-state.svg' | asset"
alt=""
>
</template>
{% endblock %}
</sw-empty-state>
{% endblock %}
</template>
<template #grid>
<sw-entity-listing
v-if="isLoading || showListing"
id="mailTemplateGrid"
class="sw-mail-templates-list-grid"
detail-route="sw.mail.template.detail"
identifier="sw-mail-template-list"
:items="mailTemplates"
:columns="getListColumns()"
:repository="mailTemplateRepository"
:full-page="false"
:is-loading="isLoading"
:allow-view="acl.can('mail_templates.viewer')"
:allow-edit="acl.can('mail_templates.editor')"
:allow-delete="acl.can('mail_templates.deleter')"
:show-selection="acl.can('mail_templates.deleter')"
:skeleton-item-amount="skeletonItemAmount"
@update-records="updateRecords"
>
{% block sw_mail_template_list_grid_columns_frosh_template_mail %}
<template #column-froshTemplateMail="{ item }">
<sw-label
appearance="circle"
:variant="item.extensions?.froshTemplateMail.subject ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('subject', item.extensions.froshTemplateMail.subject)"
>
<sw-icon name="regular-exclamation-s" small />
</sw-label>
<sw-label
appearance="circle"
:variant="item.extensions?.froshTemplateMail.plain ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('plain', item.extensions.froshTemplateMail.plain)"
>
<sw-icon name="regular-align-left" small />
</sw-label>
<sw-label
appearance="circle"
:variant="item.extensions?.froshTemplateMail.html ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('html', item.extensions.froshTemplateMail.html)"
>
<sw-icon name="regular-code" small />
</sw-label>
</template>
{% endblock %}
{% block sw_mail_template_list_grid_columns_technical_name %}
<template #column-technicalName="{ item }">
{{ item.extensions.froshTemplateMail.technicalName }}
</template>
{% endblock %}
<template #more-actions="{ item }">
{% block sw_mail_template_list_grid_columns_actions_duplicate %}
<sw-context-menu-item
class="sw-mail-template-list-grid__duplicate-action"
:disabled="!acl.can('mail_templates.creator')"
@click="onDuplicate(item.id)"
>
{{ $tc('sw-mail-template.list.contextMenuDuplicate') }}
</sw-context-menu-item>
{% endblock %}
</template>
</sw-entity-listing>
</template>
</sw-card>
{% endblock %}
`;Shopware.Component.override("sw-mail-template-list",{template:l,methods:{getListColumns(){let e=this.$super("getListColumns");return e.unshift({property:"froshTemplateMail",label:"sw-mail-template.list.columnTemplateMail",allowResize:!0},{property:"technicalName",label:"sw-mail-template.list.columnTechnicalName",allowResize:!0,visible:!1}),e},getFroshTooltip(e,t){return{message:t?this.$t(`sw-mail-template.frosh.${e}`,{folder:t}):this.$t("sw-mail-template.frosh.noTemplate")}}}});var a=`{% block sw_mail_template_options_form_subject_field %}
{% parent %}
<sw-label
v-if="mailTemplate.extensions.froshTemplateMail"
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.subject ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('subject', mailTemplate.extensions.froshTemplateMail.subject)"
>
<sw-icon name="regular-exclamation-s" small />
</sw-label>
{% endblock %}
{% block sw_mail_template_mail_text_form_content_plain_field %}
{% parent %}
<sw-label
v-if="mailTemplate.extensions.froshTemplateMail"
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.plain ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('plain', mailTemplate.extensions.froshTemplateMail.plain)"
>
<sw-icon name="regular-align-left" small />
</sw-label>
{% endblock %}
{% block sw_mail_template_mail_text_form_content_html_field %}
{% parent %}
<sw-label
v-if="mailTemplate.extensions.froshTemplateMail"
appearance="circle"
:variant="mailTemplate.extensions.froshTemplateMail.html ? 'success' : 'warning'"
v-tooltip="getFroshTooltip('html', mailTemplate.extensions.froshTemplateMail.html)"
>
<sw-icon name="regular-code" small />
</sw-label>
{% endblock %}
`;Shopware.Component.override("sw-mail-template-detail",{template:a,methods:{getFroshTooltip(e,t){return{message:t?this.$t(`sw-mail-template.frosh.${e}`,{folder:t}):this.$t("sw-mail-template.frosh.noTemplate")}}}});})();
20 changes: 0 additions & 20 deletions src/Resources/store/de.md

This file was deleted.

19 changes: 0 additions & 19 deletions src/Resources/store/en.md

This file was deleted.

Binary file removed src/Resources/store/icon.png
Binary file not shown.
Binary file removed src/Resources/store/images/1.png
Binary file not shown.
47 changes: 0 additions & 47 deletions tests/Command/ExportCommandTest.php

This file was deleted.

38 changes: 0 additions & 38 deletions tests/Extension/MailTemplateExtensionTest.php

This file was deleted.

Loading

0 comments on commit 511faf3

Please sign in to comment.