Advertisement
Guest User

Untitled

a guest
Sep 10th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.18 KB | None | 0 0
  1. diff --git a/src/app/subscription/directive/subscribe.js b/src/app/subscription/directive/subscribe.js
  2. index e47372a..7b8b9e1 100644
  3. --- a/src/app/subscription/directive/subscribe.js
  4. +++ b/src/app/subscription/directive/subscribe.js
  5. @@ -28,7 +28,8 @@ angular.module('sb.util').directive('subscribe',
  6.              restrict: 'E',
  7.              scope: {
  8.                  resource: '@',
  9. -                resourceId: '='
  10. +                resourceId: '=',
  11. +                resourceSubscriptions: '='
  12.              },
  13.              templateUrl: 'app/subscription/template/subscribe.html',
  14.              link: function ($scope) {
  15.  
  16.  
  17. diff --git a/src/app/search/template/project_search_item.html b/src/app/search/template/project_search_item.html
  18. index 128c686..19215f5 100644
  19. --- a/src/app/search/template/project_search_item.html
  20. +++ b/src/app/search/template/project_search_item.html
  21. @@ -25,6 +25,7 @@
  22.      <small ng-show="isLoggedIn">
  23.          <subscribe class="pull-right"
  24.                 resource="project"
  25. -               resource-id="project.id"></subscribe>
  26. +               resource-id="project.id"
  27. +               resourceSubscriptions="subsList"></subscribe>
  28.      </small>
  29.  </td>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement