12 new, 4 updated for 1.3.5
[webos-internals:skurriers-modifications.git] / app-catalog / app-catalog-show-download-count.patch
1 diff --git a/usr/palm/applications/com.palm.app.findapps/app/controllers/details-assistant.js b/usr/palm/applications/com.palm.app.findapps/app/controllers/details-assistant.js
2 index 0f97b54..0195822 100644
3 --- a/usr/palm/applications/com.palm.app.findapps/app/controllers/details-assistant.js
4 +++ b/usr/palm/applications/com.palm.app.findapps/app/controllers/details-assistant.js
5 @@ -307,7 +307,7 @@ var DetailsAssistant = Class.create(
6                         model.formattedAppSize = Math.ceil(model.appSize / 1024) + $L('K');
7                         
8                         // Downloads
9 -                       //model.formattedDownloadCount = Mojo.Format.formatChoice(model.cntDownloads, $L("1#1 download|##{cntDownloads} downloads"), model);
10 +                       model.formattedDownloadCount = Mojo.Format.formatChoice(model.cntDownloads, $L("1#1 download|##{cntDownloads} downloads"), model);
11                         
12                         // Web Application
13                         model.webApplication = true ? 'block' : 'none';
14 diff --git a/usr/palm/applications/com.palm.app.findapps/app/views/details/details-all.html b/usr/palm/applications/com.palm.app.findapps/app/views/details/details-all.html
15 index 4580da6..4cfee9d 100644
16 --- a/usr/palm/applications/com.palm.app.findapps/app/views/details/details-all.html
17 +++ b/usr/palm/applications/com.palm.app.findapps/app/views/details/details-all.html
18 @@ -54,7 +54,7 @@
19                                         
20                                 </div>
21                                 <div class="downloads-wrapper">
22 -                                       <!-- <div class="truncating-text"><span id="downloadCount">#{formattedDownloadCount}</span></div> -->
23 +                                       <div class="truncating-text"><span id="downloadCount">#{formattedDownloadCount}</span></div>
24                                         <div class="details-stars">                                                               
25                                                 <img class="details-rating-star" src='images/star-#{formattedStar1}.png' width="20px" height="20px" />
26                                                 <img class="details-rating-star" src='images/star-#{formattedStar2}.png' width="20px" height="20px" />