- changed filter placeholders;

This commit is contained in:
nikitasinelnikov
2019-09-05 12:51:07 +03:00
parent 27135ed988
commit 616e5301fb
3 changed files with 20 additions and 8 deletions
+2
View File
@@ -249,6 +249,8 @@ function um_build_template( directory, data ) {
jQuery( document ).trigger( "um_build_template", [ directory, data ] );
jQuery( window ).trigger( "resize" );
init_tipsy();
}
+13 -7
View File
@@ -77,6 +77,17 @@ function um_init_datetimepicker() {
});
}
function init_tipsy() {
if( typeof(jQuery.fn.tipsy) === "function" ){
jQuery('.um-tip-n').tipsy({gravity: 'n', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-w').tipsy({gravity: 'w', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-e').tipsy({gravity: 'e', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-s').tipsy({gravity: 's', opacity: 1, live: 'a.live', offset: 3 });
}
}
jQuery(document).ready(function() {
jQuery( document.body ).on('click', '.um-dropdown a.real_url', function(e){
@@ -129,13 +140,8 @@ jQuery(document).ready(function() {
minimumResultsForSearch: -1
});
}
if( typeof(jQuery.fn.tipsy) === "function" ){
jQuery('.um-tip-n').tipsy({gravity: 'n', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-w').tipsy({gravity: 'w', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-e').tipsy({gravity: 'e', opacity: 1, live: 'a.live', offset: 3 });
jQuery('.um-tip-s').tipsy({gravity: 's', opacity: 1, live: 'a.live', offset: 3 });
}
init_tipsy();
if( typeof(jQuery.fn.um_raty) === "function" ){
jQuery('.um-rating').um_raty({
+5 -1
View File
@@ -196,7 +196,11 @@ UM()->get_template( 'members-pagination.php', '', $args, true ); ?>
<# _.each( data.filters, function( filter, key, list ) { #>
<div class="um-members-filter-tag">
<# if ( filter.type == 'slider' ) { #>
{{{filter.value_label}}}
<# if ( filter.value[0] == filter.value[1] ) { #>
<strong>{{{filter.label}}}</strong>: {{{filter.value[0]}}}
<# } else { #>
{{{filter.value_label}}}
<# } #>
<# } else { #>
<strong>{{{filter.label}}}</strong>: {{{filter.value_label}}}
<# } #>