Skip to content

Commit

Permalink
Merge branch 'release/0.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
w00fz committed Aug 4, 2015
2 parents fbea806 + d2e0873 commit b1e9541
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# v0.1.1
## 08/04/2015

1. [](#bugfix)
* Fixed GitHub URLs
* Hiding toggle for disabling Admin plugin
* Removed extra text not needed

# v0.1.0
## 08/04/2015

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ This **admin plugin** for [Grav](http://github.com/getgrav/grav) is an HTML user

We have tested internally, but we hope to use this public beta phase to identify, isolate, and fix issues related to the plugin to ensure it is as solid and reliable as possible.

For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/grav/grav-plugin-admin) for dicussions directly related to the admin plugin.
For **live chatting**, please use the dedicated [Gitter Chat Room for the admin plugin](https://gitter.im/getgrav/grav-plugin-admin) for dicussions directly related to the admin plugin.

For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/grav/grav-plugin-admin).
For **bugs, features, improvements**, please ensure you [create issues in the admin plugin GitHub repository](https://github.com/getgrav/grav-plugin-admin).

# Installation

Expand All @@ -46,7 +46,7 @@ $ bin/gpm install admin

# Usage

Upon completion of the installation the next thing you need to do is create a user account in a file called `users/accounts/admin.yaml`:
Upon completion of the installation the next thing you need to do is create a user account in a file called `user/accounts/admin.yaml`:

```
username: admin
Expand Down
1 change: 0 additions & 1 deletion admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ public function onTwigSiteVariables()
public function onShutdown()
{
// Just so we know that we're in this debug mode
echo '<span style="color:red">system.debugger.shutdown.close_connection = false</span>';
if ($this->config->get('plugins.admin.popularity.enabled')) {

// Only track non-admin
Expand Down
4 changes: 2 additions & 2 deletions blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Administration Panel - Standard
version: 0.1.0
name: Admin Panel
version: 0.1.1
description: Adds an advanced administration panel to manage your site
icon: empire
author:
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/templates/partials/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
{% block content %}{% endblock %}
</div>
{% if config.plugins.admin.show_beta_msg %}
<div class="notice alert"><i class="fa fa-github"></i> <a href="https://github.com/getgrav/grav/grav-plugin-admin/issues">{{ 'ADMIN_REPORT_ISSUE'|t }}</a></div>
<div class="notice alert"><i class="fa fa-github"></i> <a href="https://github.com/getgrav/grav-plugin-admin/issues">{{ 'ADMIN_REPORT_ISSUE'|t }}</a></div>
{% endif %}
{% block content_bottom %}{% endblock %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/grav/templates/partials/plugins-list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<span class="gpm-version">v{{ plugin.version }}</span>
</td>
<td class="gpm-actions">
{% if (not installing and plugin.form.fields.enabled) %}
{% if (not installing and plugin.form.fields.enabled and (plugin.form.fields.enabled.type != 'hidden')) %}
<a class="{{ data.get('enabled') ? 'enabled' : 'disabled' }}" href="{{ base_url_relative }}/plugins/{{ slug }}/task:{{ data.get('enabled') ? 'disable' : 'enable' }}">
<i class="fa fa-fw fa-toggle-{{ data.get('enabled') ? 'on' : 'off' }}"></i>
</a>
Expand Down

0 comments on commit b1e9541

Please sign in to comment.