mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-04 20:36:03 +01:00
teamgrav icon in theme/plugin views
This commit is contained in:
@@ -509,4 +509,13 @@ class Admin
|
||||
{
|
||||
return dirname('/' . Grav::instance()['admin']->route);
|
||||
}
|
||||
|
||||
public function isTeamGrav($info)
|
||||
{
|
||||
if (isset($info['author']['name']) && $info['author']['name'] == 'Team Grav') {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user