Skip to content

Commit

Permalink
Merge pull request #2198 from phillxnet/2196_hide_currently_non_funct…
Browse files Browse the repository at this point in the history
…ional_auto_update_feature_until_post_re-launch_fix

hide non functional auto update button until post re-launch fix. Fixes #2196
  • Loading branch information
phillxnet authored Jul 19, 2020
2 parents 90c2c05 + 641818c commit c03f40e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,11 @@ $(document).ready(function(){
<h3>System is running Rockstor version: {{currentVersion}}</h3>
<p>If you've updated recently, reload the browser<b>(Ctrl+Shift+R)</b> for latest UI changes.</p><br>

{{#if autoUpdateEnabled}}
<a id="autoUpdateSwitch" class="btn btn-primary" title="Rockstor is configured to check for available system updates and automatically upgrade all packages on a daily basis. This will keep your entire system up to date. While it's not recommended, you can disable this feature and only update when you want to.">Disable auto update</a>
{{else}}
<a id="autoUpdateSwitch" class="btn btn-primary" title="Rockstor can be configured to check for available system updates and automatically upgrade all packages on a daily basis. We recommend you enable this feature to keep your entire system up to date without delay.">Enable auto update</a>
{{/if}}
<!-- {{#if autoUpdateEnabled}}-->
<!-- <a id="autoUpdateSwitch" class="btn btn-primary" title="Rockstor is configured to check for available system updates and automatically upgrade all packages on a daily basis. This will keep your entire system up to date. While it's not recommended, you can disable this feature and only update when you want to.">Disable auto update</a>-->
<!-- {{else}}-->
<!-- <a id="autoUpdateSwitch" class="btn btn-primary" title="Rockstor can be configured to check for available system updates and automatically upgrade all packages on a daily basis. We recommend you enable this feature to keep your entire system up to date without delay.">Enable auto update</a>-->
<!-- {{/if}}-->
</div>
</div>
{{/update_available}}
Expand Down

0 comments on commit c03f40e

Please sign in to comment.