mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-02 20:39:00 +02:00
Added Tribly to "official" status
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user