mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-11 02:36:17 +00:00
gui: Remove tooltip shown over whole modal
Changed the attribute 'title' (reserved) to 'heading' for the modal template GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3281
This commit is contained in:
parent
e71c78ae84
commit
8632a03662
@ -13,7 +13,7 @@
|
|||||||
<div class="panel-icon">
|
<div class="panel-icon">
|
||||||
<span ng-if="icon" class="fa fa-{{icon}}"></span>
|
<span ng-if="icon" class="fa fa-{{icon}}"></span>
|
||||||
</div>
|
</div>
|
||||||
{{title}}
|
{{heading}}
|
||||||
</h4>
|
</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body" ng-transclude>
|
<div class="modal-body" ng-transclude>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="about" status="info" icon="heart-o" title="{{'About' | translate}}" large="yes" close="yes">
|
<modal id="about" status="info" icon="heart-o" heading="{{'About' | translate}}" large="yes" close="yes">
|
||||||
<h1 class="text-center">
|
<h1 class="text-center">
|
||||||
<img alt="Syncthing" title="Syncthing" src="assets/img/logo-horizontal.svg" style="vertical-align: -16px" height="100" width="366"/>
|
<img alt="Syncthing" title="Syncthing" src="assets/img/logo-horizontal.svg" style="vertical-align: -16px" height="100" width="366"/>
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="httpError" status="danger" icon="exclamation-circle" title="{{'Connection Error' | translate}}">
|
<modal id="httpError" status="danger" icon="exclamation-circle" heading="{{'Connection Error' | translate}}">
|
||||||
<p translate>
|
<p translate>
|
||||||
Syncthing seems to be experiencing a problem processing your request. Please refresh the page or restart Syncthing if the problem persists.
|
Syncthing seems to be experiencing a problem processing your request. Please refresh the page or restart Syncthing if the problem persists.
|
||||||
</p>
|
</p>
|
||||||
|
@ -6,7 +6,7 @@ angular.module('syncthing.core')
|
|||||||
replace: true,
|
replace: true,
|
||||||
transclude: true,
|
transclude: true,
|
||||||
scope: {
|
scope: {
|
||||||
title: '@',
|
heading: '@',
|
||||||
status: '@',
|
status: '@',
|
||||||
icon: '@',
|
icon: '@',
|
||||||
close: '@',
|
close: '@',
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="networkError" status="danger" icon="exclamation-circle" title="{{'Connection Error' | translate}}">
|
<modal id="networkError" status="danger" icon="exclamation-circle" heading="{{'Connection Error' | translate}}">
|
||||||
<p translate>
|
<p translate>
|
||||||
Syncthing seems to be down, or there is a problem with your Internet connection. Retrying…
|
Syncthing seems to be down, or there is a problem with your Internet connection. Retrying…
|
||||||
</p>
|
</p>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<modal id="restarting" status="info" icon="refresh" title="{{'Restarting' | translate}}">
|
<modal id="restarting" status="info" icon="refresh" heading="{{'Restarting' | translate}}">
|
||||||
<p><span translate>Syncthing is restarting.</span> <span translate>Please wait</span>...</p>
|
<p><span translate>Syncthing is restarting.</span> <span translate>Please wait</span>...</p>
|
||||||
</modal>
|
</modal>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<modal id="shutdown" status="success" icon="power-off" title="{{'Shutdown Complete' | translate}}">
|
<modal id="shutdown" status="success" icon="power-off" heading="{{'Shutdown Complete' | translate}}">
|
||||||
<p translate>Syncthing has been shut down.</p>
|
<p translate>Syncthing has been shut down.</p>
|
||||||
</modal>
|
</modal>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<modal id="upgrading" status="info" icon="arrow-circle-up" title="{{'Upgrading' | translate}}">
|
<modal id="upgrading" status="info" icon="arrow-circle-up" heading="{{'Upgrading' | translate}}">
|
||||||
<p><span translate>Syncthing is upgrading.</span> <span translate>Please wait</span>...</p>
|
<p><span translate>Syncthing is upgrading.</span> <span translate>Please wait</span>...</p>
|
||||||
</modal>
|
</modal>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="idqr" status="info" icon="qrcode" title="{{'Device Identification' | translate}} - {{deviceName(currentDevice)}}" large="yes" close="yes">
|
<modal id="idqr" status="info" icon="qrcode" heading="{{'Device Identification' | translate}} - {{deviceName(currentDevice)}}" large="yes" close="yes">
|
||||||
<div class="well well-sm text-monospace text-center" select-on-click>{{currentDevice.deviceID}}</div>
|
<div class="well well-sm text-monospace text-center" select-on-click>{{currentDevice.deviceID}}</div>
|
||||||
<img ng-if="currentDevice.deviceID" class="center-block img-thumbnail" ng-src="qr/?text={{currentDevice.deviceID}}"/>
|
<img ng-if="currentDevice.deviceID" class="center-block img-thumbnail" ng-src="qr/?text={{currentDevice.deviceID}}"/>
|
||||||
</modal>
|
</modal>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="failed" status="warning" icon="exclamation-circle" title="{{'Failed Items' | translate}}" large="yes" close="yes">
|
<modal id="failed" status="warning" icon="exclamation-circle" heading="{{'Failed Items' | translate}}" large="yes" close="yes">
|
||||||
<p>
|
<p>
|
||||||
<span translate>The following items could not be synchronized.</span>
|
<span translate>The following items could not be synchronized.</span>
|
||||||
<span translate>They are retried automatically and will be synced when the error is resolved.</span>
|
<span translate>They are retried automatically and will be synced when the error is resolved.</span>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="needed" status="info" icon="cloud-download" title="{{'Out of Sync Items' | translate}}" large="yes" close="yes" tabindex="-1">
|
<modal id="needed" status="info" icon="cloud-download" heading="{{'Out of Sync Items' | translate}}" large="yes" close="yes" tabindex="-1">
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<div class="progress-bar progress-bar-success" style="width: 20%"><span translate class="show">Reused</span></div>
|
<div class="progress-bar progress-bar-success" style="width: 20%"><span translate class="show">Reused</span></div>
|
||||||
<div class="progress-bar" style="width: 20%"><span translate class="show">Copied from original</span></div>
|
<div class="progress-bar" style="width: 20%"><span translate class="show">Copied from original</span></div>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<modal id="urPreview" status="success" icon="bar-chart" title="{{'Anonymous Usage Reporting' | translate}}" large="yes" close="yes" tabindex="-1">
|
<modal id="urPreview" status="success" icon="bar-chart" heading="{{'Anonymous Usage Reporting' | translate}}" large="yes" close="yes" tabindex="-1">
|
||||||
<p translate>The encrypted usage report is sent daily. It is used to track common platforms, folder sizes and app versions. If the reported data set is changed you will be prompted with this dialog again.</p>
|
<p translate>The encrypted usage report is sent daily. It is used to track common platforms, folder sizes and app versions. If the reported data set is changed you will be prompted with this dialog again.</p>
|
||||||
<p translate translate-value-url="<a href="https://data.syncthing.net" target="_blank">https://data.syncthing.net</a>">The aggregated statistics are publicly available at {%url%}.</p>
|
<p translate translate-value-url="<a href="https://data.syncthing.net" target="_blank">https://data.syncthing.net</a>">The aggregated statistics are publicly available at {%url%}.</p>
|
||||||
<form>
|
<form>
|
||||||
|
Loading…
Reference in New Issue
Block a user