Changeset 7972
- Timestamp:
- 12/11/2018 01:04:04 AM (7 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg
- Files:
-
- 2 edited
-
gutenfront-content.php (modified) (2 diffs)
-
js/button-readonly.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/gutenfront-content.php
r7922 r7972 26 26 27 27 $content .= '<!-- wp:wporg/download-button --> 28 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170) ">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>28 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div> 29 29 <!-- /wp:wporg/download-button -->' . "\n\n"; 30 30 … … 145 145 146 146 $content .= '<!-- wp:wporg/download-button --> 147 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170) ">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div>147 <div class="wp-block-wporg-download-button wp-block-button aligncenter"><a class="wp-block-button__link has-background has-strong-blue-background-color" href="' . "https://{$localised_domain}/plugins/gutenberg/" . '" style="background-color:rgb(0,115,170);color:#fff">' . esc_html__( 'Download Gutenberg Today', 'wporg' ) . '</a></div> 148 148 <!-- /wp:wporg/download-button -->' . "\n\n"; 149 149 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/js/button-readonly.js
r7559 r7972 35 35 36 36 return el( 37 'div', 37 'div', 38 38 { className: 'wp-block-button align' + props.attributes.align, }, 39 39 el( 40 40 'a', 41 41 { className: 'wp-block-button__link has-background has-strong-blue-background-color', href: props.attributes.url, 42 style: { backgroundColor: 'rgb(0,115,170)' },43 title: props.attributes.title 42 style: { backgroundColor: 'rgb(0,115,170)', color: '#fff' }, 43 title: props.attributes.title 44 44 }, 45 45 props.attributes.text 46 ) 46 ) 47 47 ); 48 48 }, … … 51 51 52 52 return el( 53 'div', 53 'div', 54 54 { className: 'wp-block-button align' + props.attributes.align }, 55 55 el( 56 56 'a', 57 57 { className: 'wp-block-button__link has-background has-strong-blue-background-color', href: props.attributes.url, 58 style: { backgroundColor: 'rgb(0,115,170)' },59 title: props.attributes.title 58 style: { backgroundColor: 'rgb(0,115,170)', color: '#fff' }, 59 title: props.attributes.title 60 60 }, 61 61 props.attributes.text 62 ) 62 ) 63 63 ); 64 64 },
Note: See TracChangeset
for help on using the changeset viewer.