-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove template field if using Mosaico in non shoreditch mode #14927
Remove template field if using Mosaico in non shoreditch mode #14927
Conversation
(Standard links)
|
This follows our work for Agileware Ref: CIVIMOSAIC-18 - Pengyi will review and provide feedback in the next couple of days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe missing a =
in the ngif
?
ang/crmMailingAB/BlockMailing.html
Outdated
<option ng-repeat="frm in crmMsgTemplates.getAll() | orderBy:'msg_title'" ng-value="frm.id">{{frm.msg_title}}</option> | ||
</select> | ||
<a crm-icon="fa-floppy-o" ng-click="saveTemplate(abtest.mailings.a)" class="crm-hover-button" title="{{ts('Save As')}}"></a> | ||
<div ng-if="abtest.mailings.a.template_type='traditional'"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here if yes.
@agileware-pengyi does this require changes from your testing? Comment above suggests you maybe haven't tested but are are more 'discussing' the code? |
@eileenmcnaughton @seamuslee001 I tried it. Should be double equal sign here. |
ok & @agileware-pengyi - once that is changed is it mergeable? |
@eileenmcnaughton yes. Is there anything I should do with that? |
Use double equals instead of single equals
1586a84
to
f0327ef
Compare
@eileenmcnaughton @agileware-pengyi both updated now as per Pengyi's comment |
OK merging as the required change is made |
Overview
This aims to accomplish something akin to what @agileware-pengyi was aiming to do in veda-consulting-company/uk.co.vedaconsulting.mosaico#322. This does this by only showing the template field if the template_type is traditional
Before
Template field shown even if using Mosaico Template but not using shoreditch
After
Template field hidden in Mosicao
ping @eileenmcnaughton @agileware-pengyi @totten