mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-04 04:48:28 +00:00
afeb606b5b
Using AngularJS markup (that is, AngularJS expressions enclosed in double curly braces) in HTML attributes that reference URLs is not recommended: the browser may attempt to fetch the URL before the AngularJS compiler evaluates the markup, resulting in a request for an invalid URL.
21 lines
988 B
HTML
21 lines
988 B
HTML
<modal id="majorUpgrade" status="danger" icon="fas fa-arrow-circle-up" heading="{{'Major Upgrade' | translate}}" large="no" closeable="yes">
|
|
<div class="modal-body">
|
|
<p>
|
|
<span translate>This is a major version upgrade.</span>
|
|
<span translate>A new major version may not be compatible with previous versions.</span>
|
|
<span translate>Please consult the release notes before performing a major upgrade.</span>
|
|
</p>
|
|
<p>
|
|
<a ng-href="https://github.com/syncthing/syncthing/releases/tag/{{upgradeInfo.latest}}" target="_blank" translate>Release Notes</a>
|
|
</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-primary btn-sm" ng-click="upgrade()">
|
|
<span class="fas fa-check"></span> <span translate>Upgrade</span>
|
|
</button>
|
|
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">
|
|
<span class="fas fa-times"></span> <span translate>Close</span>
|
|
</button>
|
|
</div>
|
|
</modal>
|