Add a check_repository_usage method which adds (or removes) a notification on the user/org when they go over their plan usage

This commit is contained in:
Joseph Schorr 2014-03-12 19:19:39 -04:00
parent 525ef8d14f
commit e5a461989f
6 changed files with 39 additions and 28 deletions

View file

@ -1,7 +1,7 @@
<div class="notification-view-element">
<div class="container" ng-click="showNotification();">
<div class="circle" ng-class="getClass(notification)"></div>
<div class="message">{{ getMessage(notification) }}</div>
<div class="message" ng-bind-html="getMessage(notification)"></div>
<div class="orginfo" ng-if="notification.organization">
<img src="//www.gravatar.com/avatar/{{ getGravatar(notification.organization) }}?s=24&d=identicon" />
<span class="orgname">{{ notification.organization }}</span>