Skip to content

Instantly share code, notes, and snippets.

@iamchriswick
Last active February 22, 2017 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamchriswick/af84ce94f4d5d7a0973b058e600d8b9b to your computer and use it in GitHub Desktop.
Save iamchriswick/af84ce94f4d5d7a0973b058e600d8b9b to your computer and use it in GitHub Desktop.
RAMP Payment Warning: Modify to show info on missing payment. Insert code before div class application-outlet.
//Insert code before div class application-outlet. Modify to show info on missing payment.
<div id="artdeco-global-alert-container" class="ember-view" style="transform: translateY(-48px); transition-duration: 0s; transition-timing-function: cubic-bezier(0, 0, 0.2, 1); visibility: visible; height: 48px;">
<artdeco-global-alert severity="error" id="urn:li:alert:4" class="ember-view" style="z-index: 0;">
<section class="artdeco-alert-body">
<li-icon aria-hidden="true" type="error-pebble-icon"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon"><g class="large-icon" style="fill: currentColor">
<g id="error-pebble-icon">
<g>
<circle class="circle" r="9.1" stroke="currentColor" stroke-width="1.8" cx="12" cy="12" fill="none" transform="rotate(-90 12 12)"></circle>
<path d="M13.238,12l3.463,3.463L15.463,16.7L12,13.237L8.538,16.7L7.3,15.463L10.763,12L7.3,8.537L8.538,7.3L12,10.763l3.452-3.452l1.238,1.237L13.238,12z"></path>
<rect style="fill:none;" width="24" height="24"></rect>
</g>
</g>
<g id="Layer_1">
</g>
</g></svg></li-icon>
<p class="artdeco-content">
<div id="ember3249" class="attributed-text ember-view">There was a problem processing your credit card. <a href="https://www.linkedin.com/payments/paymentaccounts/personal?declinedPmtMthId=34069204&amp;trk=global_alert" id="ember3252" class="ember-view">Please update your credit card info</a> to keep
your LinkedIn Premium Account active.</div>
</p>
<button class="artdeco-dismiss" data-ember-action="" data-ember-action-3254="3254">
<li-icon aria-hidden="true" type="cancel-icon" size="small"><svg viewBox="0 0 24 24" width="24px" height="24px" x="0" y="0" preserveAspectRatio="xMinYMin meet" class="artdeco-icon"><g class="small-icon" style="fill-opacity: 1">
<path d="M13,4.32L9.31,8,13,11.69,11.69,13,8,9.31,4.31,13,3,11.69,6.69,8,3,4.31,4.31,3,8,6.69,11.68,3Z"></path>
</g></svg></li-icon>
<span class="a11y-text">Dismiss</span>
</button>
</section>
</artdeco-global-alert>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment