Skip to content
Snippets Groups Projects
Commit ced4e293 authored by mattwire's avatar mattwire
Browse files

Fix theming on webhook form when there is no bootstrap theme

parent e0f00387
No related branches found
No related tags found
No related merge requests found
{if $isAllOk} <div class="crm-block crm-content-block">
<div class="alert alert-success">{$intro}</div> {if $isAllOk}
{/if} <div class="alert alert-success">{$intro}</div>
{if $shouldOfferToFix} {/if}
<h3>Problems discovered:</h3> {if $shouldOfferToFix}
<div class="alert alert-warning"> <div class="alert alert-warning status crm-warning">
<ul> <h3>Problems discovered:</h3>
{foreach from=$messages item=message} <ul>
<li>{$message.title}: {$message.message}</li> {foreach from=$messages item=message}
{/foreach} <li>{$message.title}: {$message.message}</li>
</ul> {/foreach}
</div> </ul>
<div class="alert alert-info"> </div>
<p>Please click the Update / Create webhook button to <div class="alert alert-info status help">
attempt to fix.</p> <p>Please click the Update / Create webhook button to
<p>This will attempt to check and correct your Stripe webhooks. Note: do not attempt to fix.</p>
run this in a development environment unless you want a webhook set up that <p>This will attempt to check and correct your Stripe webhooks. Note: do not
points to your development domain(!).</p> run this in a development environment unless you want a webhook set up that
</div> points to your development domain(!).</p>
{/if} </div>
{/if}
{if $isStillBad} {if $isStillBad}
<div class="alert alert-danger"> <div class="alert alert-danger status crm-error">
<h3>There were errors updating the webhook(s):</h3> <h3>There were errors updating the webhook(s):</h3>
<ul> <ul>
{foreach from=$messages item=message} {foreach from=$messages item=message}
<li>{$message.title}: {$message.message}</li> <li>{$message.title}: {$message.message}</li>
{/foreach} {/foreach}
</ul> </ul>
</div> </div>
<div class="alert alert-info"> <div class="alert alert-info status help">
The easiest way to fix this, is to The easiest way to fix this, is to
delete your webhooks from your Stripe account(s) and then revisit this page delete your webhooks from your Stripe account(s) and then revisit this page
to recreate them correctly. to recreate them correctly.
</div> </div>
{/if} {/if}
{* FOOTER *} {* FOOTER *}
{if $shouldOfferToFix || $isStillBad} {if $shouldOfferToFix || $isStillBad}
<div class="crm-submit-buttons"> <div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="bottom"} {include file="CRM/common/formButtons.tpl" location="bottom"}
</div> </div>
{/if} {/if}
</div>
\ No newline at end of file
  • Rich @artfulrobot ·
    Maintainer

    :thumbsup: Thanks for this, I forget which classes are bootstrap, Drupal or Civi!

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment