Closes #333, New version availability check will now checks http://grafanarel.s3.amazonaws.com/latest.json if there is a new version. And the link now points to http://grafana.org/download

This commit is contained in:
Torkel Ödegaard
2014-04-23 09:05:10 +02:00
parent 2f58aa280c
commit 827e1846a8
8 changed files with 49 additions and 9 deletions
+4 -3
View File
@@ -148,11 +148,12 @@
</div>
<div class="modal-footer">
<div class="pull-left" style="padding-top: 15px;" ng-if="editor.index == 0">
<div class="pull-left grafana-version-footer" ng-if="editor.index == 0">
<span class="editor-option small">
Grafana {{grafanaVersion}}
Grafana version: {{grafanaVersion}}
</span>
(<a class="small" href="https://github.com/torkelo/grafana/releases" target="_blank">check for updates</a>)
<div class="small" grafana-version-check>
</div>
</div>
<button ng-click="add_row(dashboard.current,row); reset_row();" class="btn btn-success" ng-show="editor.index == 1">Create Row</button>