mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 11:26:04 +01:00
Fixes #1613
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
# v1.9.0-rc.3
|
||||
## mm/dd/2019
|
||||
|
||||
1. [](#improved)
|
||||
* Flex user profile now uses Flex Form
|
||||
1. [](#bugfix)
|
||||
* Text in Tab Tools/Direct install disappears [#1613](https://github.com/getgrav/grav-plugin-admin/issues/1613)
|
||||
|
||||
|
||||
# v1.9.0-rc.2
|
||||
## 02/07/2019
|
||||
|
||||
|
||||
10
admin.php
10
admin.php
@@ -373,11 +373,11 @@ class AdminPlugin extends Plugin
|
||||
public function onAdminTools(Event $event)
|
||||
{
|
||||
$event['tools'] = array_merge($event['tools'], [
|
||||
$this->grav['language']->translate('PLUGIN_ADMIN.BACKUPS'),
|
||||
$this->grav['language']->translate('PLUGIN_ADMIN.SCHEDULER'),
|
||||
$this->grav['language']->translate('PLUGIN_ADMIN.LOGS'),
|
||||
$this->grav['language']->translate('PLUGIN_ADMIN.REPORTS'),
|
||||
$this->grav['language']->translate('PLUGIN_ADMIN.DIRECT_INSTALL'),
|
||||
'backups' => $this->grav['language']->translate('PLUGIN_ADMIN.BACKUPS'),
|
||||
'scheduler' => $this->grav['language']->translate('PLUGIN_ADMIN.SCHEDULER'),
|
||||
'logs' => $this->grav['language']->translate('PLUGIN_ADMIN.LOGS'),
|
||||
'reports' => $this->grav['language']->translate('PLUGIN_ADMIN.REPORTS'),
|
||||
'direct-install' => $this->grav['language']->translate('PLUGIN_ADMIN.DIRECT_INSTALL'),
|
||||
]);
|
||||
|
||||
return $event;
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
{% if tools|length > 1 %}
|
||||
<div class="form-tabs">
|
||||
<div class="tabs-nav">
|
||||
{% for tool in tools %}
|
||||
<a href="{{ base_url_relative }}/tools/{{tool|hyphenize}}" {% if tools_slug == tool|hyphenize %}class="active"{% endif %}>
|
||||
{% for slug,tool in tools %}
|
||||
<a href="{{ base_url_relative }}/tools/{{slug|hyphenize}}" {% if tools_slug == slug|hyphenize %}class="active"{% endif %}>
|
||||
{{ tool|tu|capitalize }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user