This commit is contained in:
Andy Miller
2019-02-08 07:27:50 -07:00
parent ee88551fdd
commit c4a27f698f
3 changed files with 16 additions and 7 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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 %}