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:
Daniel Harte
2016-06-08 13:07:53 +00:00
committed by Audrius Butkevicius
parent e71c78ae84
commit 8632a03662
12 changed files with 12 additions and 12 deletions

View File

@@ -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">
<img alt="Syncthing" title="Syncthing" src="assets/img/logo-horizontal.svg" style="vertical-align: -16px" height="100" width="366"/>
<br/>

View File

@@ -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>
Syncthing seems to be experiencing a problem processing your request. Please refresh the page or restart Syncthing if the problem persists.
</p>

View File

@@ -6,7 +6,7 @@ angular.module('syncthing.core')
replace: true,
transclude: true,
scope: {
title: '@',
heading: '@',
status: '@',
icon: '@',
close: '@',

View File

@@ -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>
Syncthing seems to be down, or there is a problem with your Internet connection. Retrying&hellip;
</p>

View File

@@ -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>
</modal>

View File

@@ -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>
</modal>

View File

@@ -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>
</modal>