PluginProbe
Elementor Website Builder – more than just a page builder / 3.6.2
Elementor Website Builder – more than just a page builder v3.6.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 4.0.8 All 454 releases
← All changes | modules/history/views/revisions-panel-template.php +21 -19 4.3.0 → 3.6.2 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
@@ -34,9 +42,9 @@
34 42 ); ?>';
35 43 #>
36 44 <img class="elementor-nerd-box-icon" src="<?php
37 45 // 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' ); ?>" />
46 + echo ELEMENTOR_ASSETS_URL . 'images/information.svg' // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>" />
39 47 <div class="elementor-nerd-box-title"><?php echo esc_html__( 'No Revisions Saved Yet', 'elementor' ); ?></div>
40 48 <div class="elementor-nerd-box-message">{{{ elementor.config.document.revisions.enabled ? no_revisions_1 : revisions_disabled_1 }}}</div>
41 49 <div class="elementor-nerd-box-message">{{{ elementor.config.document.revisions.enabled ? no_revisions_2 : revisions_disabled_2 }}}</div>
42 50 </script>
@@ -45,9 +53,9 @@
45 53 <i class="eicon-loading eicon-animation-spin" aria-hidden="true"></i>
46 54 </script>
47 55
48 56 <script type="text/template" id="tmpl-elementor-panel-revisions-revision-item">
49 - <button class="elementor-revision-item__wrapper {{ type }}">
57 + <div class="elementor-revision-item__wrapper {{ type }}">
50 58 <div class="elementor-revision-item__gravatar">{{{ gravatar }}}</div>
51 59 <div class="elementor-revision-item__details">
52 60 <div class="elementor-revision-date" title="{{{ new Date( timestamp * 1000 ) }}}">{{{ date }}}</div>
53 61 <div class="elementor-revision-meta">
@@ -56,19 +64,13 @@
56 64 <span>(#{{{ id }}})</span>&nbsp;
57 65 </div>
58 66 </div>
59 67 <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 68 <# 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>
69 + <i class="elementor-revision-item__tools-current eicon-star" aria-hidden="true"></i>
70 + <span class="elementor-screen-only"><?php echo esc_html__( 'Current', 'elementor' ); ?></span>
65 71 <# } #>
66 72
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 -
73 + <i class="elementor-revision-item__tools-spinner eicon-loading eicon-animation-spin" aria-hidden="true"></i>
72 74 </div>
73 - </button>
75 + </div>
74 76 </script>