Added Tribly to "official" status

This commit is contained in:
Andy Miller
2017-03-10 16:53:01 -07:00
parent 8dd8fe6b10
commit 96bba05217
2 changed files with 2 additions and 2 deletions

View File

@@ -928,7 +928,7 @@ class Admin
*/
public function isTeamGrav($info)
{
if (isset($info['author']['name']) && $info['author']['name'] == 'Team Grav') {
if (isset($info['author']['name']) && ($info['author']['name'] == 'Team Grav' || Utils::contains($info['author']['name'], 'Trilby Media'))) {
return true;
} else {
return false;

View File

@@ -8,7 +8,7 @@
<h1>
{{ theme.name|e }}
{% if admin.isTeamGrav(theme) %}
<small><span class="info-reverse"><i class="fa fa-check-circle" title="Grav Official Theme"></i></span></small>
<small><span class="info-reverse"><i class="fa fa-check-circle" title="{{ "PLUGIN_ADMIN.GRAV_OFFICIAL_THEME"|tu }}"></i></span></small>
{% endif %}
{% if admin.isPremiumProduct(theme) %}
<small><span class="badge warning premium"><i class="fa fa-star-o"></i> {{ "PLUGIN_ADMIN.PREMIUM_PRODUCT"|tu }}</span></small>