skip license expire warning if cloud
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
<% return if ENV['SERVER_MODE'] == 'cloud' %>
|
||||||
|
|
||||||
<% license_status = current_license.detail_with_local_file %>
|
<% license_status = current_license.detail_with_local_file %>
|
||||||
<% renewable_date = current_license.read_license("renewable_date") %>
|
<% renewable_date = current_license.read_license("renewable_date") %>
|
||||||
<% date_count = (renewable_date.to_date - Date.today).to_i %>
|
<% date_count = (renewable_date.to_date - Date.today).to_i %>
|
||||||
@@ -21,7 +23,6 @@
|
|||||||
<span aria-hidden="true" class="text-white">×</span>
|
<span aria-hidden="true" class="text-white">×</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user