summaryrefslogtreecommitdiffstats
path: root/settings/templates/apps.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-11-30 15:59:02 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-11-30 15:59:02 +0100
commit9f27c2b3e77f24862410e83adf0dc2473bbbfa8d (patch)
tree7c9be800800829c31cd15011552a6b4c98cf2e58 /settings/templates/apps.php
parentd7dd399bbda8da55f46db6e8f825bf282efbec52 (diff)
downloadnextcloud-server-9f27c2b3e77f24862410e83adf0dc2473bbbfa8d.tar.gz
nextcloud-server-9f27c2b3e77f24862410e83adf0dc2473bbbfa8d.zip
Show app store rating only for 5+ votes
* shows the rating of an app only if a given amount of ratings are given * fixes #2001 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/templates/apps.php')
-rw-r--r--settings/templates/apps.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/templates/apps.php b/settings/templates/apps.php
index 3753fd67a0c..2cb8378d74e 100644
--- a/settings/templates/apps.php
+++ b/settings/templates/apps.php
@@ -53,7 +53,7 @@ script(
<div class="app-level">
{{{level}}}
</div>
- {{#if score}}
+ {{#if ratingNumThresholdReached }}
<div class="app-score">{{{score}}}</div>
{{/if}}
<div class="app-detailpage"></div>