mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 01:51:40 -05:00
Update to use bengott:avatar 0.1.2
This commit is contained in:
parent
13484d6e6a
commit
4bb13c9243
5 changed files with 5 additions and 5 deletions
|
@ -12,7 +12,7 @@ application-configuration@1.0.2
|
|||
autoupdate@1.1.1
|
||||
backbone@1.0.0
|
||||
base64@1.0.0
|
||||
bengott:avatar@0.1.1
|
||||
bengott:avatar@0.1.2
|
||||
binary-heap@1.0.0
|
||||
blaze-tools@1.0.0
|
||||
blaze@2.0.1
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<span>{{i18n "downvote"}}</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="user-avatar">{{>avatar userId=userId cssClass="avatar circle"}}</div>
|
||||
<div class="user-avatar">{{>avatar userId=userId class="circle"}}</div>
|
||||
<div class="comment-main">
|
||||
<div class="comment-meta">
|
||||
<a class="comment-username" href="{{profileUrl}}">{{authorName}}</a>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template name="user_item">
|
||||
<tr class="user">
|
||||
<td>{{>avatar user=this cssClass="avatar circle"}}</td>
|
||||
<td>{{>avatar user=this class="circle"}}</td>
|
||||
<td>
|
||||
<a href="{{getProfileUrl}}">{{displayName}}</a>
|
||||
<br/>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="user-profile grid grid-module">
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2">{{>avatar user=this cssClass="avatar large circle"}}</td>
|
||||
<td colspan="2">{{>avatar user=this class="large circle"}}</td>
|
||||
</tr>
|
||||
{{#if isAdmin}}
|
||||
<tr>
|
||||
|
|
|
@ -86,7 +86,7 @@ getEmailHash = function(user){
|
|||
return CryptoJS.MD5(getEmail(user).trim().toLowerCase()).toString()
|
||||
};
|
||||
getAvatarUrl = function(user) {
|
||||
console.log('FUNCTION getAvatarUrl() IS DEPRECATED -- package bengott:avatar is used instead.')
|
||||
console.warn('FUNCTION getAvatarUrl() IS DEPRECATED -- package bengott:avatar is used instead.')
|
||||
return Avatar.getUrl(user);
|
||||
};
|
||||
getCurrentUserEmail = function(){
|
||||
|
|
Loading…
Add table
Reference in a new issue