Skip to content
This repository
Browse code

show 64px icons on detail page (bug 744806)

  • Loading branch information...
commit f0f1e10e16faa4edd29c9595946ef493b51d0c04 1 parent 2dee3de
Christopher Van authored April 18, 2012
7  media/css/mkt/detail.less
@@ -64,7 +64,7 @@
64 64
     font-size: 14px;
65 65
     text-shadow: 0 1px 0 @white;
66 66
     .icon {
67  
-        .width(2);
  67
+        .max-width(2);
68 68
     }
69 69
     .actions {
70 70
         .width(3);
@@ -98,9 +98,8 @@
98 98
     }
99 99
     .visual {
100 100
         float: left;
101  
-        width: 128px;
102  
-        height: 128px;
103  
-        // TODO: nuke when 128px icons available
  101
+        max-width: 128px;
  102
+        max-height: 128px;
104 103
         img {
105 104
             max-width: 128px;
106 105
             max-height: 128px;
2  mkt/detail/templates/detail/app.html
@@ -30,7 +30,7 @@
30 30
 {% else %}
31 31
   <section class="product-details">
32 32
     <div class="visual">
33  
-      <img class="icon" src="{{ product.get_icon_url(128) }}">
  33
+      <img class="icon" src="{{ product.get_icon_url(64) }}">
34 34
     </div>
35 35
     <div class="vitals">
36 36
       <h1>{{ product.name }}</h1>
2  mkt/purchase/templates/purchase/start.html
@@ -4,7 +4,7 @@
4 4
     <a href="#" class="close">X</a>
5 5
     <div class="product-details c">
6 6
       <div class="visual">
7  
-        <img class="icon" src="{icon_128_url}">
  7
+        <img class="icon" src="{iconUrl}">
8 8
       </div>
9 9
       <div class="vitals">
10 10
         <h2>{name}</h2>
2  mkt/site/helpers.py
@@ -68,7 +68,7 @@ def product_as_dict(request, product, purchased=None):
68 68
                                src=request.GET.get('src', '')),
69 69
         'author': author,
70 70
         'author_url': author_url,
71  
-        'icon_128_url': product.get_icon_url(128)
  71
+        'iconUrl': product.get_icon_url(64)
72 72
     }
73 73
     if product.is_premium():
74 74
         ret.update({

0 notes on commit f0f1e10

Please sign in to comment.
Something went wrong with that request. Please try again.