Template:2012FR/Form-section/Privacy/Default: Difference between revisions

Content deleted Content added
Undo revision 25152 by Pcoombe (talk)
monthly text should always be shown by default
Line 3:
#cancel-monthly {
padding-top: 1em;
display: none;
}
</style>
Line 13 ⟶ 12:
<nowiki>*</nowiki></html>{{#ifeq:{{int:lang}}|en|{{#tag:html|{{int:donate_interface-monthly-cancel-seddon}}}}|{{#tag:html|<html><a target="_blank" href="https://wikimediafoundation.org/wiki/Special:LandingCheck?landing_page=Cancel_or_change_recurring_payments&basic=true&country=</html>{{{country}}}<html>&language=</html>{{int:lang}}<html>"></html>{{int:donate_interface-monthly-cancel}}<html></a></html>}}}}<html>
</div>
<script type="text/javascript">
$(document).ready(function() {
if ( mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-monthly' || mw.util.getParamValue('form-countryspecific') == 'Form-countryspecific-recurring' || showMonthlyCancel) {
// We're on a monthly page, show the cancel text
$('#cancel-monthly').show();
}
});
</script>
</html>