Commit afd510524cde68494a4f2fd6bf25a5d710a6aef6
1 parent
9d0b1137
vip icon
Showing
2 changed files
with
5 additions
and
0 deletions
Show diff stats
src/app/frontend/views/customer/cabinet.php
... | ... | @@ -20,6 +20,7 @@ |
20 | 20 | <div class="subcategory_sidebar_title"> |
21 | 21 | <h3><?= $t->_("personal_account") ?></h3> |
22 | 22 | <a href="<?= $this->seoUrl->setUrl($this->url->get([ 'for' => 'cabinet' ])) ?>" title="<?= $t->_("profile") ?>" class="active"><?= $t->_("profile") ?></a> |
23 | + <?php if($customer['users_group_id'] == 37) echo '<img class="vip_icon" src="/images/icon_vip_01.png" alt="vip" />'; ?> | |
23 | 24 | <a href="<?= $this->seoUrl->setUrl($this->url->get([ 'for' => 'cabinet_email_settings' ])) ?>" title="<?= $t->_("email_settings") ?>"><?= $t->_("email_settings") ?></a> |
24 | 25 | <?php |
25 | 26 | ... | ... |
www/css/main.css
... | ... | @@ -1154,6 +1154,10 @@ h2.types_logo_479 { |
1154 | 1154 | font: bold 13px/15px Arial, Tahoma, sans-serif; |
1155 | 1155 | margin: 15px 0 10px 0; |
1156 | 1156 | } |
1157 | + .subcategory_sidebar_title .vip_icon { | |
1158 | + float: right; | |
1159 | + margin-left: 20px; | |
1160 | + } | |
1157 | 1161 | |
1158 | 1162 | ul#subcategory_menu { |
1159 | 1163 | width: 220px; | ... | ... |