modify expire page

This commit is contained in:
Zin Moe
2020-06-18 18:02:02 +06:30
parent b46cefc8bc
commit 02ba0f21e6
5 changed files with 46 additions and 22 deletions

View File

@@ -6,7 +6,11 @@
<% if license_status == 0
text = 'Your license has expired.'
elsif license_status == 2
text = "Your license will expire in #{day}."
if date_count == 0
text = "Your license will expire in tomorrow."
else
text = "Your license will expire in #{day}."
end
end
%>
<% if license_status == 0 || license_status == 2 %>