Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stripe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
Stripe
Commits
ced4e293
Commit
ced4e293
authored
5 years ago
by
mattwire
Browse files
Options
Downloads
Patches
Plain Diff
Fix theming on webhook form when there is no bootstrap theme
parent
e0f00387
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/CRM/Stripe/Form/UpdateWebhook.tpl
+43
-41
43 additions, 41 deletions
templates/CRM/Stripe/Form/UpdateWebhook.tpl
with
43 additions
and
41 deletions
templates/CRM/Stripe/Form/UpdateWebhook.tpl
+
43
−
41
View file @
ced4e293
{
if
$isAllOk
}
<div
class=
"alert alert-success"
>
{
$intro
}
</div>
{/
if
}
{
if
$shouldOfferToFix
}
<h3>
Problems discovered:
</h3>
<div
class=
"alert alert-warning"
>
<ul>
{
foreach
from
=
$messages
item
=
message
}
<li>
{
$message.title
}
:
{
$message.message
}
</li>
{/
foreach
}
</ul>
</div>
<div
class=
"alert alert-info"
>
<p>
Please click the Update / Create webhook button to
attempt to fix.
</p>
<p>
This will attempt to check and correct your Stripe webhooks. Note: do not
run this in a development environment unless you want a webhook set up that
points to your development domain(!).
</p>
</div>
{/
if
}
<div
class=
"crm-block crm-content-block"
>
{
if
$isAllOk
}
<div
class=
"alert alert-success"
>
{
$intro
}
</div>
{/
if
}
{
if
$shouldOfferToFix
}
<div
class=
"alert alert-warning status crm-warning"
>
<h3>
Problems discovered:
</h3>
<ul>
{
foreach
from
=
$messages
item
=
message
}
<li>
{
$message.title
}
:
{
$message.message
}
</li>
{/
foreach
}
</ul>
</div>
<div
class=
"alert alert-info status help"
>
<p>
Please click the Update / Create webhook button to
attempt to fix.
</p>
<p>
This will attempt to check and correct your Stripe webhooks. Note: do not
run this in a development environment unless you want a webhook set up that
points to your development domain(!).
</p>
</div>
{/
if
}
{
if
$isStillBad
}
<div
class=
"alert alert-danger"
>
<h3>
There were errors updating the webhook(s):
</h3>
<ul>
{
foreach
from
=
$messages
item
=
message
}
<li>
{
$message.title
}
:
{
$message.message
}
</li>
{/
foreach
}
</ul>
</div>
<div
class=
"alert alert-info"
>
The easiest way to fix this, is to
delete your webhooks from your Stripe account(s) and then revisit this page
to recreate them correctly.
</div>
{/
if
}
{* FOOTER *}
{
if
$shouldOfferToFix
||
$isStillBad
}
<div
class=
"crm-submit-buttons"
>
{
include
file
=
"CRM/common/formButtons.tpl"
location
=
"bottom"
}
</div>
{/
if
}
{
if
$isStillBad
}
<div
class=
"alert alert-danger status crm-error"
>
<h3>
There were errors updating the webhook(s):
</h3>
<ul>
{
foreach
from
=
$messages
item
=
message
}
<li>
{
$message.title
}
:
{
$message.message
}
</li>
{/
foreach
}
</ul>
</div>
<div
class=
"alert alert-info status help"
>
The easiest way to fix this, is to
delete your webhooks from your Stripe account(s) and then revisit this page
to recreate them correctly.
</div>
{/
if
}
{* FOOTER *}
{
if
$shouldOfferToFix
||
$isStillBad
}
<div
class=
"crm-submit-buttons"
>
{
include
file
=
"CRM/common/formButtons.tpl"
location
=
"bottom"
}
</div>
{/
if
}
</div>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Rich
@artfulrobot
·
5 years ago
Maintainer
Thanks for this, I forget which classes are bootstrap, Drupal or Civi!
:thumbsup: Thanks for this, I forget which classes are bootstrap, Drupal or Civi!
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment