change expires soon colors
This commit is contained in:
parent
216c48df93
commit
ee8662e1c8
@ -1,3 +1,5 @@
|
||||
-0.1.14
|
||||
- change expires soon warning color
|
||||
-0.1.13
|
||||
- change gitignore
|
||||
-0.1.12
|
||||
|
||||
@ -5,7 +5,7 @@ return [
|
||||
'supportEmail' => 'rocho02@gmail.com',
|
||||
'infoEmail' => 'info@rocho-net.hu',
|
||||
'user.passwordResetTokenExpire' => 3600,
|
||||
'version' => 'v0.1.13',
|
||||
'version' => 'v0.1.14',
|
||||
'company' => 'movar',//gyor
|
||||
'company_name' => "Freimann Kft.",
|
||||
'product_visiblity' => 'account',// on reception which products to display. account or global
|
||||
|
||||
@ -450,6 +450,7 @@ class Ticket extends \common\models\BaseFitnessActiveRecord
|
||||
public function getDaysUntilExpire(){
|
||||
$minutes = $this->getMinutesUntilExpire();
|
||||
$days = $minutes / 60 /24;
|
||||
$days = ceil($days);
|
||||
return $days;
|
||||
}
|
||||
|
||||
|
||||
@ -88,7 +88,7 @@ if ( isset($model->card)){
|
||||
/// ///////////////////////////////////
|
||||
if ( $showWarningExpires || $showWaringUsageCount) {
|
||||
?>
|
||||
<div class="alert alert-warning">
|
||||
<div class="alert alert-warning-expires">
|
||||
<strong>A bérlet hamarosan lejár</strong>
|
||||
<?php
|
||||
if ($showWarningExpires) {
|
||||
|
||||
@ -89,3 +89,10 @@ a.desc:after {
|
||||
padding: 10px 20px;
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
|
||||
.alert-warning-expires {
|
||||
color: #fff;
|
||||
background-color: #dc500b;
|
||||
border-color: #faebcc;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user