Commit aa61d1434f3b7880a36e24a132c324f2b6506cc7
1 parent
0a6545c6
-Cabinet ready 2
Showing
2 changed files
with
27 additions
and
1 deletions
Show diff stats
frontend/views/account/_product.php
@@ -92,6 +92,33 @@ | @@ -92,6 +92,33 @@ | ||
92 | </p> | 92 | </p> |
93 | </div> | 93 | </div> |
94 | <!-- /.text --> | 94 | <!-- /.text --> |
95 | + <?php if ($model->product->is('akcia')) { ?> | ||
96 | + | ||
97 | + <div class="ribbon sale"> | ||
98 | + <div class="theribbon">SALE</div> | ||
99 | + <div class="ribbon-background"></div> | ||
100 | + </div> | ||
101 | + <!-- /.ribbon --> | ||
102 | + <?php } ?> | ||
103 | + | ||
104 | + <?php if ($model->product->is('new')) { ?> | ||
105 | + | ||
106 | + <div class="ribbon new"> | ||
107 | + <div class="theribbon">NEW</div> | ||
108 | + <div class="ribbon-background"></div> | ||
109 | + </div> | ||
110 | + <!-- /.ribbon --> | ||
111 | + <?php } ?> | ||
112 | + | ||
113 | + | ||
114 | + <?php if ($model->product->is('top')) { ?> | ||
115 | + <div class="ribbon top"> | ||
116 | + <div class="theribbon">TOP</div> | ||
117 | + <div class="ribbon-background"></div> | ||
118 | + </div> | ||
119 | + <!-- /.ribbon --> | ||
120 | + <?php } ?> | ||
121 | + | ||
95 | </div> | 122 | </div> |
96 | <!-- /.product --> | 123 | <!-- /.product --> |
97 | </div> | 124 | </div> |
frontend/views/account/wishlist.php
@@ -40,7 +40,6 @@ _________________________________________________________ --> | @@ -40,7 +40,6 @@ _________________________________________________________ --> | ||
40 | Pjax::end(); | 40 | Pjax::end(); |
41 | ?> | 41 | ?> |
42 | 42 | ||
43 | - | ||
44 | <!-- /.col-md-4 --> | 43 | <!-- /.col-md-4 --> |
45 | </div> | 44 | </div> |
46 | <!-- /.products --> | 45 | <!-- /.products --> |