Преглед изворни кода

Merge pull request #322 from Calinou/rename-official-support-level

Rename Official support level to Featured in the frontend
Emi пре 1 година
родитељ
комит
06aebbc995
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      templates/assets.phtml

+ 1 - 1
templates/assets.phtml

@@ -117,7 +117,7 @@
                                         'featured' => 'danger',
                                         'community' => 'success',
                                         'testing' => 'default',
-                                    ][$asset['support_level']]) ?>"><?php echo esc(ucfirst($asset['support_level'])) ?></span>
+                                    ][$asset['support_level']]) ?>"><?php echo esc(str_replace('Official', 'Featured', ucfirst($asset['support_level']))) ?></span>
                                 </div>
                                 <div class="asset-tags">
                                     <span class="label label-default"><?php echo esc($asset['cost']) ?></span>