fix: #19 - Hide stock exchange chart and display a warning-message
This commit is contained in:
parent
c3e122ac0b
commit
bb83e7d114
2 changed files with 14 additions and 2 deletions
|
|
@ -56,8 +56,11 @@ $general_meetings = get_field('general_meetings');
|
|||
<?php $stock = $price['stock_prices']; ?>
|
||||
<div class="finance-api__block">
|
||||
<h3 class="finance-api__title subtitle"><?php echo $stock['title']; ?></h3>
|
||||
<?php get_template_part('partials/finance-api'); ?>
|
||||
<div class="finance-api__text description"><?php echo $stock['text']; ?></div>
|
||||
<?php //get_template_part('partials/finance-api');
|
||||
?>
|
||||
<p class="warning-message">Affichage du cours de la bourse en cours de maintenance, veuillez nous excuser pour la gêne occasionnée. Nous nous efforçons de rétablir le service dans les meilleurs délais.</p>
|
||||
<div class="finance-api__text description"><?php echo $stock['text'];
|
||||
?></div>
|
||||
<div class="finance-api__btns">
|
||||
<?php foreach ($stock['buttons'] as $b) : ?>
|
||||
<a class="finance-api__btn btn" href="<?php echo $b['file']; ?>" title="<?php echo $b['text']; ?>" download><?php echo $b['text']; ?> <i class="btn__icon btn__icon_dl"></i></a>
|
||||
|
|
|
|||
|
|
@ -5132,3 +5132,12 @@ textarea.form__input {
|
|||
#cookie-notice .cn-text-container {
|
||||
font-size: 0.9em !important;
|
||||
line-height: 1.4em !important; } }
|
||||
|
||||
.warning-message {
|
||||
margin: 1rem 0;
|
||||
color: #ff4e4e;
|
||||
padding: 1rem;
|
||||
border: 2px solid #ff4e4e;
|
||||
border-radius: 1rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue