| @@ -87,12 +87,12 @@ | ||
| 87 | 87 | <# const v4Categories = ['v4-elements', 'atomic-form']; #> |
| 88 | 88 | <button class="elementor-element" data-library-element-type="{{ elType === 'widget' ? widgetType : elType }}"> |
| 89 | 89 | <# if ( obj.integration ) { #> |
| 90 | 90 | <i class="eicon-plug"></i> |
| 91 | - <# } else if ( false === obj.editable && !obj.atomicFormPromotion && !obj.birthdayEasterEgg ) { #> | |
| 91 | + <# } else if ( false === obj.editable && !obj.atomicFormPromotion ) { #> | |
| 92 | 92 | <i class="eicon-lock"></i> |
| 93 | 93 | <# } #> |
| 94 | - <# if ( !obj.birthdayEasterEgg && obj.categories.some( category => v4Categories.includes( category ) ) ) { #> | |
| 94 | + <# if ( obj.categories.some( category => v4Categories.includes( category ) ) ) { #> | |
| 95 | 95 | <i class="eicon-atomic"></i> |
| 96 | 96 | <# } #> |
| 97 | 97 | <div class="icon"> |
| 98 | 98 | <i class="{{ icon }}" aria-hidden="true"></i> |
| @@ -111,19 +111,15 @@ | ||
| 111 | 111 | ?> |
| 112 | 112 | <script type="text/template" id="tmpl-elementor-panel-elements-widget-creation-empty-state"> |
| 113 | 113 | <div class="elementor-panel-elements-widget-creation__title"><?php echo esc_html__( 'No widget found for', 'elementor' ); ?> "{{{ searchTerm }}}"</div> |
| 114 | 114 | <div class="elementor-panel-elements-widget-creation__message"><?php echo esc_html__( 'Build a custom widget with Angie by describing what you need.', 'elementor' ); ?></div> |
| 115 | - <?php if ( current_user_can( 'manage_options' ) ) : ?> | |
| 116 | 115 | <button type="button" class="elementor-panel-elements-widget-creation__cta"><?php echo esc_html( $widget_creation_cta_text ); ?></button> |
| 117 | - <?php endif; ?> | |
| 118 | 116 | </script> |
| 119 | 117 | |
| 120 | 118 | <script type="text/template" id="tmpl-elementor-panel-elements-widget-creation-search-footer"> |
| 121 | 119 | <div class="elementor-panel-elements-widget-creation__title"><?php echo esc_html__( "Couldn't find what you're looking for?", 'elementor' ); ?></div> |
| 122 | 120 | <div class="elementor-panel-elements-widget-creation__message"><?php echo esc_html__( 'Build a custom widget with Angie by describing what you need.', 'elementor' ); ?></div> |
| 123 | - <?php if ( current_user_can( 'manage_options' ) ) : ?> | |
| 124 | 121 | <button type="button" class="elementor-panel-elements-widget-creation__cta"><?php echo esc_html( $widget_creation_cta_text ); ?></button> |
| 125 | - <?php endif; ?> | |
| 126 | 122 | </script> |
| 127 | 123 | <?php endif; ?> |
| 128 | 124 | |
| 129 | 125 | <script type="text/template" id="tmpl-elementor-panel-global"> |