Changeset 2186325
- Timestamp:
- 11/05/2019 04:55:06 PM (6 years ago)
- Location:
- showpass/trunk
- Files:
-
- 5 edited
-
css/showpass-style.css (modified) (5 diffs)
-
inc/default-product-grid.php (modified) (1 diff)
-
inc/default-product-list.php (modified) (2 diffs)
-
showpass-wordpress-plugin-shortcode.php (modified) (3 diffs)
-
showpass-wordpress-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
showpass/trunk/css/showpass-style.css
r2183481 r2186325 206 206 } 207 207 208 . product-price {208 .showpass-product-price { 209 209 margin-top: 10px; 210 210 } … … 218 218 margin-top: 0px; 219 219 } 220 . product-price {220 .showpass-product-price { 221 221 margin-top: 0px; 222 222 } … … 229 229 .showpass-button-pull-left { 230 230 justify-content: flex-start; 231 }232 233 a {234 box-shadow: none !important;235 -webkit-box-shadow: none !important;236 text-decoration: none;237 231 } 238 232 … … 409 403 padding: 5px 10px; 410 404 font-size: 0.875rem; 411 display: none;412 }413 414 .showpass-pagination li:last-child, .showpass-pagination li:first-child {415 405 display: inline-block; 416 }417 418 @media print, screen and (min-width: 48.75em) {419 .showpass-pagination li {420 display: inline-block;421 }422 406 } 423 407 … … 539 523 } 540 524 541 a {525 .showpass-flex-box a { 542 526 box-shadow: none !important; 543 527 -webkit-box-shadow: none !important; -
showpass/trunk/inc/default-product-grid.php
r2183454 r2186325 45 45 <div class="showpass-layout-flex"> 46 46 <div class="flex-100 showpass-flex-column showpass-no-border"> 47 <div class=" product-price"><?php if ($product['product_attributes']) : ?><small class="showpass-price-display"><?php echo showpass_get_product_price_range($product['product_attributes']);?> <?php echo $product['currency']; ?></small><?php endif; ?></div>48 <div class=" product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>47 <div class="showpass-product-price"><?php if ($product['product_attributes']) : ?><small class="showpass-price-display"><?php echo showpass_get_product_price_range($product['product_attributes']);?> <?php echo $product['currency']; ?></small><?php endif; ?></div> 48 <div class="showpass-product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div> 49 49 </div> 50 50 </div> -
showpass/trunk/inc/default-product-list.php
r2183454 r2186325 37 37 <div class="showpass-layout-flex"> 38 38 <div class="flex-100 showpass-flex-column list-layout-flex showpass-no-border"> 39 <div class=" product-price"><?php if ($product['product_attributes']) : ?>39 <div class="showpass-product-price"><?php if ($product['product_attributes']) : ?> 40 40 <small class="showpass-price-display"> 41 41 <?php echo showpass_get_product_price_range($product['product_attributes']);?> … … 43 43 </small><?php endif; ?> 44 44 </div> 45 <div class=" product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div>45 <div class="showpass-product-price"><?php if (!$product['product_attributes']) : ?><small class="showpass-price-display"> No Items Available</small><?php endif; ?></div> 46 46 </div> 47 47 </div> -
showpass/trunk/showpass-wordpress-plugin-shortcode.php
r2183454 r2186325 287 287 * @return String html date element 288 288 */ 289 function showpass_display_date ( $event, $small = false) {289 function showpass_display_date ($event, $small = false) { 290 290 // grab values needed to calculate event times 291 291 $starts_on = $event['starts_on']; 292 292 $ends_on = $event['ends_on']; 293 293 $timezone = $event['timezone']; 294 $recurring = $event['is_recurring_parent']; 294 295 295 296 /** … … 316 317 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 317 318 .'<span class="start-date">' 318 .sprintf('<div class="display-inline-block label">Starts: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($starts_on, $timezone)) 319 .sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone)) 320 .'</span>' 319 .sprintf('<div class="display-inline-block label">Starts: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($starts_on, $timezone)); 320 if (!$recurring) { 321 $starts_date_element .= sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone)); 322 } else { 323 $starts_date_element .= '</div>'; 324 } 325 $starts_date_element .= '</span>' 326 .'</div>'; 327 // end element 328 $ends_date_element .= '' 329 .'<div class="info dates">' 330 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 331 .'<span class="end-date">' 332 .sprintf('<div class="display-inline-block label">Ends: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($ends_on, $timezone)); 333 if (!$recurring) { 334 $ends_date_element .= sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone)); 335 } else { 336 $ends_date_element .= '</div>'; 337 } 338 $ends_date_element .= '</span>' 339 .'</div>'; 340 } else { 341 // start element 342 $starts_date_element .= '' 343 .'<div class="info dates">' 344 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 345 .'<span class="start-date">' 346 .sprintf('<span>Starts: </span><span class="day">%s</span> ', showpass_get_event_date($starts_on, $timezone)); 347 if (!$recurring) { 348 $starts_date_element .= sprintf('<span class="time">@ %s %s</span>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone)); 349 } 350 $starts_date_element .= '</span>' 321 351 .'</div>'; 322 352 // end element … … 325 355 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 326 356 .'<span class="end-date">' 327 .sprintf('<div class="display-inline-block label">Ends: </div><div class="display-inline-block"><div class="day">%s</div>', showpass_get_event_date($ends_on, $timezone)) 328 .sprintf('<div class="time">%s %s</div></div>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone)) 329 .'</span>' 330 .'</div>'; 331 } else { 332 // start element 333 $starts_date_element .= '' 334 .'<div class="info dates">' 335 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 336 .'<span class="start-date">' 337 .sprintf('<span>Starts: </span><span class="day">%s</span> ', showpass_get_event_date($starts_on, $timezone)) 338 .sprintf('<span class="time">@ %s %s</span>', showpass_get_event_time($starts_on, $timezone), showpass_get_timezone_abbr($timezone)) 339 .'</span>' 340 .'</div>'; 341 // end element 342 $ends_date_element .= '' 343 .'<div class="info dates">' 344 .'<i class="fa fa-calendar icon-center display-inline-block"></i>' 345 .'<span class="end-date">' 346 .sprintf('<span>Ends: </span><span><span class="day">%s</span> ', showpass_get_event_date($ends_on, $timezone)) 347 .sprintf('<span class="time">@ %s %s</span>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone)) 348 .'</span>' 357 .sprintf('<span>Ends: </span><span><span class="day">%s</span> ', showpass_get_event_date($ends_on, $timezone)); 358 if (!$recurring) { 359 $ends_date_element .= sprintf('<span class="time">@ %s %s</span>', showpass_get_event_time($ends_on, $timezone), showpass_get_timezone_abbr($timezone)); 360 } 361 $ends_date_element .='</span>' 349 362 .'</div>'; 350 363 } -
showpass/trunk/showpass-wordpress-plugin.php
r2185053 r2186325 5 5 Description: List events, display event details and products. Use the Showpass purchase widget for on site ticket & product purchases all with easy to use shortcodes. See our git repo here for full documentation. https://github.com/showpass/showpass-wordpress-plugin 6 6 Author: Showpass / Up In Code Inc. 7 Version: 3.4. 27 Version: 3.4.3 8 8 Author URI: https://www.showpass.com 9 9 */
Note: See TracChangeset
for help on using the changeset viewer.