Changeset 19121 for trunk/admin/themes/default
- Timestamp:
- Nov 21, 2012, 3:28:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/batch_manager_global.tpl
r19069 r19121 490 490 /* dimensions sliders */ 491 491 /** 492 * find the key from a value in the startStopValues array , for the hour slider492 * find the key from a value in the startStopValues array 493 493 */ 494 494 function getSliderKeyFromValue(value, values) { … … 604 604 var max = jQuery(this).data("max"); 605 605 606 $("#filter_dimension_"+ type +"_slider").slider( 607 "values", 608 0, 606 $("#filter_dimension_"+ type +"_slider").slider("values", 0, 609 607 getSliderKeyFromValue(min, dimension_values[type]) 610 608 ); 611 609 612 $("#filter_dimension_"+type+"_slider").slider("values", 1, getSliderKeyFromValue(max, dimension_values[type])); 610 $("#filter_dimension_"+type+"_slider").slider("values", 1, 611 getSliderKeyFromValue(max, dimension_values[type]) 612 ); 613 613 }); 614 614 }); … … 686 686 687 687 {'Ratio'|@translate} ({'Width'|@translate}/{'Height'|@translate}) <span id="filter_dimension_ratio_info">{'between %.2f and %.2f'|@translate|sprintf:$dimensions.selected.min_ratio:$dimensions.selected.max_ratio}</span> 688 {if isset($dimensions.ratio_portrait .min)}688 {if isset($dimensions.ratio_portrait)} 689 689 | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_portrait.min}" data-max="{$dimensions.ratio_portrait.max}">{'Portrait'|@translate}</a> 690 690 {/if} 691 {if isset($dimensions.ratio_square .min)}691 {if isset($dimensions.ratio_square)} 692 692 | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_square.min}" data-max="{$dimensions.ratio_square.max}">{'square'|@translate}</a> 693 693 {/if} 694 {if isset($dimensions.ratio_landscape .min)}694 {if isset($dimensions.ratio_landscape)} 695 695 | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_landscape.min}" data-max="{$dimensions.ratio_landscape.max}">{'Landscape'|@translate}</a> 696 696 {/if} 697 {if isset($dimensions.ratio_panorama .min)}697 {if isset($dimensions.ratio_panorama)} 698 698 | <a class="dimensions-choice" data-type="ratio" data-min="{$dimensions.ratio_panorama.min}" data-max="{$dimensions.ratio_panorama.max}">{'Panorama'|@translate}</a> 699 699 {/if}
Note: See TracChangeset
for help on using the changeset viewer.