Files
habitica/views/shared/modals/members.html
T
Tyler Renelle 91d1cdf361 [#1465] add member modals back in. Not all info is present, just a bit more
work. Can now click guild & tavern members! does lazy-loading of members
so we don't have to load all their information at once
2013-09-07 12:45:39 -04:00

28 lines
1.0 KiB
HTML

<div ng-controller="MemberModalCtrl">
<div modal="modals.member">
<app:avatar:profile />
<!-- see above -->
<h2 class='profile-modal-header'>{{username(profile.auth, profile.profile.name)}}</h2>
<hr/>
<div class='row-fluid'>
<div class='span6'>
<img ng-show='profile.profile.imageUrl' ng-src="{{profile.profile.imageUrl}}" />
<p ng-show="profile.profile.blurb">{{profile.profile.blurb}}</p>
<ul ng-show="profile.profile.websites">
<li ng-repeat="website in profile.profile.websites">{{website}}</li>
</ul>
<h3>Stats</h3>
<app:avatar:profile-stats profile={{profile}} />
</div>
<div class='span6'>
<h3>Achievements</h3>
<app:avatar:achievements profile={{profile}} />
</div>
</div>
<footer>
<button data-dismiss="modal" class="btn btn-success">Ok</button>
</footer>
</div>
</div>