1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-11 16:32:55 +00:00

Prepare JS AJAX interactions. Show phone numbers into the appropriate div. Import some CSS things. Cleanup JS code

This commit is contained in:
Loic Blot
2014-09-16 20:17:39 +00:00
parent 37c32f8ce7
commit 8f0bcf2920
5 changed files with 51 additions and 14 deletions
+2
View File
@@ -9,6 +9,8 @@
</div>
<div id="app-mailbox-peers">
<ul>
</ul>
</div>
<div id="app-content">
+1 -1
View File
@@ -1,7 +1,7 @@
<ul>
<?php foreach ($_['mailboxes'] as $mboxName => $mailbox) { ?>
<?php if (count($mailbox['phoneNumbers']) > 0) { ?>
<li><a href="<?php p($mailbox['url']); ?>"><?php p($mailbox['label']); ?></a></li>
<li><a href="<?php p($mailbox['url']); ?>" nav-feed="<?php p($mailbox['label']); ?>"><?php p($mailbox['label']); ?></a></li>
<?php }
} ?>
</ul>