Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Read only mode for search results.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Levett committed Feb 10, 2016
1 parent 1331871 commit 8c908e7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h4 class="header">MyUW</h4>
<div ng-repeat="portlet in myuwFilteredResults = (myuwResults | filter:searchTermFilter | showApplicable:showAll | orderBy:sortParameter | limitTo:searchResultLimit)" class="result">
<h4><a href="{{::portlet.maxUrl}}" target="{{::portlet.target}}">{{ portlet.name }}</a></h4>
<p>{{ portlet.description }}</p>
<p>
<p ng-hide="GuestMode">
<a ng-click="addToHome(portlet)"
ng-if="portlet.canAdd && !portlet.hasInLayout" class="add">
<i class="fa fa-plus"></i> Add to home
Expand All @@ -39,6 +39,11 @@ <h4><a href="{{::portlet.maxUrl}}" target="{{::portlet.target}}">{{ portlet.name
<a href="apps/details/{{::portlet.fname}}">Details</a>
<span><rating ng-model="portlet.rating" readonly="true" class="rating"></rating></span>
</p>
<p ng-show="GuestMode">
<span style='margin-right: 10px;'><a class='btn btn-flat'>Login to use</a></span>
<span><a href="apps/details/{{::portlet.fname}}">Details</a></span>
<span><rating ng-model="portlet.rating" readonly="true" class="rating"></rating></span>
</p>

</div>
<div class="marketplace-load-more" hide-while-loading ng-show="myuwFilteredResults.length > searchResultLimit">
Expand Down

0 comments on commit 8c908e7

Please sign in to comment.