Rename user-avatar to buddy-avatar

This commit is contained in:
Robin Linus 2015-12-30 23:59:11 +01:00
parent 6a940acad2
commit 3b68a7ec6d
2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
<link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html"> <link rel="import" href="../../bower_components/paper-icon-button/paper-icon-button.html">
<dom-module id="user-avatar"> <dom-module id="buddy-avatar">
<template> <template>
<style> <style>
:host { :host {
@ -55,7 +55,7 @@
<script> <script>
'use strict'; 'use strict';
Polymer({ Polymer({
is: 'user-avatar', is: 'buddy-avatar',
properties: { properties: {
contact: Object, contact: Object,
_displayName: { _displayName: {

View file

@ -1,7 +1,7 @@
<link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html"> <link rel="import" href="../../bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="../../bower_components/paper-styles/paper-styles.html"> <link rel="import" href="../../bower_components/paper-styles/paper-styles.html">
<link rel="import" href="../file-sharing/file-input.html"> <link rel="import" href="../file-sharing/file-input.html">
<link rel="import" href="user-avatar.html"> <link rel="import" href="buddy-avatar.html">
<link rel="import" href="personal-avatar.html"> <link rel="import" href="personal-avatar.html">
<dom-module id="buddy-finder"> <dom-module id="buddy-finder">
<template> <template>
@ -64,7 +64,7 @@
<div class="buddies"> <div class="buddies">
<template is="dom-repeat" items="{{buddies}}"> <template is="dom-repeat" items="{{buddies}}">
<file-input on-file-selected="_fileSelected" only$="{{!buddies.1}}"> <file-input on-file-selected="_fileSelected" only$="{{!buddies.1}}">
<user-avatar contact="{{item}}" class="buddy"></user-avatar> <buddy-avatar contact="{{item}}" class="buddy"></buddy-avatar>
</file-input> </file-input>
</template> </template>
</div> </div>