Вывод инфо о кампании в архиве

parent cd48936b
......@@ -157,10 +157,8 @@ if (!$error) {
<div class="form-group active">
<input type="checkbox" id="campaign-active" name="campaign-active" <?php if ($campaign_active): ?>checked<?php endif; ?> <?php if($campaign_archive): ?>disabled<?php endif; ?>>
<label class="title-field" for="campaign-active">Кампания активна</label>
<?php if(!$campaign_date_end || $today <= $campaign_date_end): ?>
<a class="btn btn-danger action-archive send <?php if($campaign_archive): ?>hidden<?php endif; ?>" href="<?= $form_link ?>"><?= _t('Отправить в архив')?></a>
<a class="btn btn-primary action-archive remove <?php if(!$campaign_archive): ?>hidden<?php endif; ?>" href="<?= $form_link ?>"><?= _t('Извлечь из архива')?></a>
<?php if($campaign_archive): ?>
<i style="color: #D33E3D">(кампания в архиве)</i>
<?php endif; ?>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment