1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-22 05:43:07 +00:00

JS: initialPeerList is now generated by angular.js

This commit is contained in:
Loic Blot
2015-01-10 15:18:14 +00:00
parent 13e3d47620
commit c1f984b2de
2 changed files with 16 additions and 13 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ use \OCA\OcSms\Lib\CountryCodes;
<div class="ng-scope" id="app" ng-app="OcSms" ng-controller="OcSmsController">
<div id="app-mailbox-peers">
<ul>
<li ng-repeat="contact in contacts">
<div class="ocsms-plavatar"></div>
<li ng-repeat="contact in contacts" peer-label="{{ contact.label }}">
<div class="ocsms-plavatar" style="background-image: url('{{ contact.avatar }}');"></div>
<a mailbox-label="{{ contact.label }}" mailbox-navigation="{{ contact.nav }}" ng-click="loadConversation();" href="#">{{ contact.label }}</a>
</li>
</ul>