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

Commit

Permalink
Merge pull request #870 from uPortal-Project/rating
Browse files Browse the repository at this point in the history
MUMUP-3344 - Remove app ratings
  • Loading branch information
Doug-Reed committed Jan 24, 2019
2 parents 88cc7c4 + 629c8aa commit 63961ac
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 22 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to
compact widget modes, to make this feature more recognizable to and
understandable by users. New label is "Change tile size"; was
"Toggle expanded widgets". Also updates the associated `aria-label`. #866
* Removed references to ratings from marketplace pages. #870

### Deprecated

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,6 @@
<h3 tabindex="0" class="md-title">Description</h3>
<p tabindex="0" class="app-description">{{::portlet.description}}</p>
</div>
<div class="desc-item">
<h3 tabindex="0" class="md-title">Ratings</h3>
<span ng-if="$storage.linkRatingsApi">
<span uib-rating ng-model="portlet.rating" read-only="true" class="rating"></span>

( <md-button ng-click="clickRatingReviewAdmin()">{{::portlet.userRated}} rating<span ng-if="portlet.userRated !== 1">s</span></md-button> )
</span>
<span ng-if="!$storage.linkRatingsApi">
<span uib-rating ng-model="portlet.rating" read-only="true" class="rating"></span>
( {{::portlet.userRated}} rating<span ng-if="portlet.userRated !== 1">s</span> )
</span>
<br>
<rating-button ng-hide="guestMode" portlet='portlet' button-text="Rate"
button-classes="md-raised"></rating-button>
</div>
<div class="desc-item"
ng-if="portlet.relatedPortlets.length > 0">
<h3 tabindex="0" class="md-title">Related Apps</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,7 @@ <h2 tabindex="0" class="md-headline" layout="row" layout-align="start center">
</div>
</div>

<!-- RATINGS ROW -->
<p>
<span uib-rating ng-model="portlet.rating" read-only="true" class="rating"></span>
( {{::portlet.userRated}} rating<span ng-if="portlet.userRated !== 1">s</span> )
</p>

<!-- DESCRIPTION AND DETAILS ROW -->
<!-- DESCRIPTION AND DETAILS ROW -->
<div layout="row" layout-align="start center">
<span tabindex="0">{{::portlet.description}}</span>
<md-button class="md-primary" ng-click="navToDetails(portlet, 'Browse')" hide-xs>
Expand Down

0 comments on commit 63961ac

Please sign in to comment.