Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

client side: notifications count

  • Loading branch information...
commit 482317958edf1758333bc57d8eb395504387e3fe 1 parent 673a557
@Martikos Martikos authored
View
1  Views/Private/Notifications.aspx
@@ -34,7 +34,6 @@
<div class="notification_window" runat="server">
- <span class="notifications_title">Your recent Notifications</span>
<div id="notifications_div" runat="server">
</div>
View
2  Views/Private/Notifications.aspx.cs
@@ -33,7 +33,7 @@ protected void Page_Load(object sender, EventArgs e)
notifications = NotificationDataService.getNotifications(userId.ToString());
/* show results on page */
- notifications_div.InnerHtml = "";
+ notifications_div.InnerHtml = "<span class=\"notifications_title\">You have " + notifications.Count + " notifications</span>";
foreach (Notification n in notifications)
{
String objectHTML = "";
Please sign in to comment.
Something went wrong with that request. Please try again.