mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
use ng-src to avoid errors before scope is available
This commit is contained in:
parent
4ed1db3ccd
commit
152109a8ef
@ -191,7 +191,7 @@
|
||||
{
|
||||
"label": "Name",
|
||||
"map": "name",
|
||||
"cellTemplate": '<img src="{{dataRow.gravatar_url}}" height="40px"/> <a href="users/{{dataRow.id}}">{{dataRow.name}}</a>'
|
||||
"cellTemplate": '<img ng-src="{{dataRow.gravatar_url}}" height="40px"/> <a href="users/{{dataRow.id}}">{{dataRow.name}}</a>'
|
||||
},
|
||||
{
|
||||
'label': 'Joined',
|
||||
|
@ -17,7 +17,7 @@
|
||||
refresh-delay="0"
|
||||
ui-disable-choice="user.alreadyMember">
|
||||
<div>
|
||||
<img src="{{user.gravatar_url}}" height="24px"> {{user.name}}
|
||||
<img ng-src="{{user.gravatar_url}}" height="24px"> {{user.name}}
|
||||
<small ng-if="user.alreadyMember">(already member in this group)</small>
|
||||
</div>
|
||||
</ui-select-choices>
|
||||
@ -30,7 +30,7 @@
|
||||
<table class="table table-condensed table-hover">
|
||||
<tbody>
|
||||
<tr ng-repeat="member in members">
|
||||
<td width="50px"><img src="{{member.gravatar_url}}" height="40px"/></td>
|
||||
<td width="50px"><img ng-src="{{member.gravatar_url}}" height="40px"/></td>
|
||||
<td>{{member.name}} <button class="pull-right btn btn-sm btn-danger" ng-click="removeMember(member)" ng-if="currentUser.isAdmin">Remove</button></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
<div ng-show="selectedTab == 'profile'" class="p-10">
|
||||
<p>
|
||||
<img src="{{user.gravatar_url}}"/>
|
||||
<img ng-src="{{user.gravatar_url}}"/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
Loading…
Reference in New Issue
Block a user