PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.0-dev9
Elementor Website Builder – more than just a page builder v3.4.0-dev9
4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 All 455 releases
← All changes | modules/history/views/revisions-panel-template.php +22 -25 4.3.0 → 3.4.0-dev9 View file →
@@ -5,19 +5,27 @@
5 5
6 6 ?>
7 7 <script type="text/template" id="tmpl-elementor-panel-revisions">
8 8 <div class="elementor-panel-box">
9 - <div class="elementor-panel-revisions-buttons">
10 - <button class="elementor-button e-btn-txt e-revision-discard" disabled>
11 - <?php echo esc_html__( 'Discard', 'elementor' ); ?>
12 - </button>
13 - <button class="elementor-button e-revision-save" disabled>
14 - <?php echo esc_html__( 'Apply', 'elementor' ); ?>
15 - </button>
9 + <div class="elementor-panel-scheme-buttons">
10 + <div class="elementor-panel-scheme-button-wrapper elementor-panel-scheme-discard">
11 + <button class="elementor-button" disabled>
12 + <i class="eicon-close" aria-hidden="true"></i>
13 + <?php echo esc_html__( 'Discard', 'elementor' ); ?>
14 + </button>
15 + </div>
16 + <div class="elementor-panel-scheme-button-wrapper elementor-panel-scheme-save">
17 + <button class="elementor-button elementor-button-success" disabled>
18 + <?php echo esc_html__( 'Apply', 'elementor' ); ?>
19 + </button>
20 + </div>
16 21 </div>
17 22 </div>
18 23
19 24 <div class="elementor-panel-box">
25 + <div class="elementor-panel-heading">
26 + <div class="elementor-panel-heading-title"><?php echo esc_html__( 'Revisions', 'elementor' ); ?></div>
27 + </div>
20 28 <div id="elementor-revisions-list" class="elementor-panel-box-content"></div>
21 29 </div>
22 30 </script>
23 31
@@ -25,18 +33,13 @@
25 33 <#
26 34 var no_revisions_1 = '<?php echo esc_html__( 'Revision history lets you save your previous versions of your work, and restore them any time.', 'elementor' ); ?>',
27 35 no_revisions_2 = '<?php echo esc_html__( 'Start designing your page and you will be able to see the entire revision history here.', 'elementor' ); ?>',
28 36 revisions_disabled_1 = '<?php echo esc_html__( 'It looks like the post revision feature is unavailable in your website.', 'elementor' ); ?>',
29 - revisions_disabled_2 = '<?php printf(
30 - /* translators: %1$s Link open tag, %2$s: Link close tag. */
31 - esc_html__( 'Learn more about %1$sWordPress revisions%2$s', 'elementor' ),
32 - '<a target="_blank" href="https://go.elementor.com/wordpress-revisions/">',
33 - '</a>'
34 - ); ?>';
37 + revisions_disabled_2 = '<?php printf( esc_html__( 'Learn more about <a target="_blank" href="%s">WordPress revisions</a>', 'elementor' ), 'https://go.elementor.com/wordpress-revisions/' ); /* translators: %s: Codex URL */ ?>';
35 38 #>
36 39 <img class="elementor-nerd-box-icon" src="<?php
37 40 // PHPCS - Safe Elementor SVG
38 - echo ELEMENTOR_ASSETS_URL . 'images/information.svg' // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" loading="lazy" alt="<?php echo esc_attr__( 'Elementor', 'elementor' ); ?>" />
41 + echo ELEMENTOR_ASSETS_URL . 'images/information.svg' // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
39 42 <div class="elementor-nerd-box-title"><?php echo esc_html__( 'No Revisions Saved Yet', 'elementor' ); ?></div>
40 43 <div class="elementor-nerd-box-message">{{{ elementor.config.document.revisions.enabled ? no_revisions_1 : revisions_disabled_1 }}}</div>
41 44 <div class="elementor-nerd-box-message">{{{ elementor.config.document.revisions.enabled ? no_revisions_2 : revisions_disabled_2 }}}</div>
42 45 </script>
@@ -45,9 +48,9 @@
45 48 <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
46 49 </script>
47 50
48 51 <script type="text/template" id="tmpl-elementor-panel-revisions-revision-item">
49 - <button class="elementor-revision-item__wrapper {{ type }}">
52 + <div class="elementor-revision-item__wrapper {{ type }}">
50 53 <div class="elementor-revision-item__gravatar">{{{ gravatar }}}</div>
51 54 <div class="elementor-revision-item__details">
52 55 <div class="elementor-revision-date" title="{{{ new Date( timestamp * 1000 ) }}}">{{{ date }}}</div>
53 56 <div class="elementor-revision-meta">
@@ -56,19 +59,13 @@
56 59 <span>(#{{{ id }}})</span>&nbsp;
57 60 </div>
58 61 </div>
59 62 <div class="elementor-revision-item__tools">
60 - <i class="elementor-revision-item__tools-spinner eicon-loading eicon-animation-spin" aria-hidden="true"></i>
61 -
62 63 <# if ( 'current' === type ) { #>
63 - <i class="elementor-revision-item__tools-current eicon-check" aria-hidden="true"></i>
64 - <span class="elementor-screen-only"><?php echo esc_html__( 'Published', 'elementor' ); ?></span>
64 + <i class="elementor-revision-item__tools-current eicon-star" aria-hidden="true"></i>
65 + <span class="elementor-screen-only"><?php echo esc_html__( 'Current', 'elementor' ); ?></span>
65 66 <# } #>
66 67
67 -<!-- <# if ( 'revision' === type ) { #>-->
68 -<!-- <i class="eicon-undo" aria-hidden="true"></i>-->
69 -<!-- <span class="elementor-screen-only">--><?php // echo esc_html__( 'Restore', 'elementor' ); ?><!--</span>-->
70 -<!-- <# } #>-->
71 -
68 + <i class="elementor-revision-item__tools-spinner eicon-loading eicon-animation-spin" aria-hidden="true"></i>
72 69 </div>
73 - </button>
70 + </div>
74 71 </script>