blob: d896ec03e1dbb688a77ddfafb03913ebfac017a8 [file] [log] [blame]
<!DOCTYPE html>
<!--
Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<dom-module id="login-warning">
<style>
#message {
color: #dd4b39;
font-size: 20px;
}
</style>
<template>
<div id="message" hidden$="{{!missing}}">
No data available for {{missing}}. Note that some data is only visible
when <a href$="{{loginLink}}">signed in</a> with a google.com account.
</div>
</template>
<script>
'use strict';
Polymer({
is: 'login-warning',
properties: {
loginLink: { notify: true },
missing: {
value: null,
notify: true
}
},
get messageElement() {
return this.$.message;
}
});
</script>
</dom-module>