change expires soon colors

This commit is contained in:
Roland Schneider 2019-03-30 20:52:44 +01:00
parent 216c48df93
commit ee8662e1c8
5 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,5 @@
-0.1.14
- change expires soon warning color
-0.1.13
- change gitignore
-0.1.12

View File

@ -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

View File

@ -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;
}

View File

@ -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) {

View File

@ -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;
}