fix %DEVICE% in template
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
2.003000 - 2014-02-04
|
2.003001 - 2014-02-04
|
||||||
|
|
||||||
* Change to use %DEVICE% as well - full url must be configured in location
|
* Change to use %DEVICE% as well - full url must be configured in location
|
||||||
* Fix bug in check_acl call
|
* Fix bug in check_acl call
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ resources:
|
|||||||
homepage: http://netdisco.org/
|
homepage: http://netdisco.org/
|
||||||
license: http://opensource.org/licenses/bsd-license.php
|
license: http://opensource.org/licenses/bsd-license.php
|
||||||
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
||||||
version: '2.003000'
|
version: '2.003001'
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
package App::NetdiscoX::Web::Plugin::RANCID;
|
package App::NetdiscoX::Web::Plugin::RANCID;
|
||||||
|
|
||||||
our $VERSION = '2.003000';
|
our $VERSION = '2.003001';
|
||||||
|
|
||||||
use Dancer ':syntax';
|
use Dancer ':syntax';
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<a href="[% settings.plugin_rancid.location.replace('\%GROUP\%',rancidgroup) %]/configs/[% ranciddevice | uri %]"
|
<a href="[% settings.plugin_rancid.location.replace('\%GROUP\%',rancidgroup).replace('\%DEVICE\%',ranciddevice) %]"
|
||||||
[% ' target="_blank"' UNLESS settings.plugin_rancid.open_in_same_window %]
|
[% ' target="_blank"' UNLESS settings.plugin_rancid.open_in_same_window %]
|
||||||
>View Configuration <i class="icon-circle-arrow-right"></i></a>
|
>View Configuration <i class="icon-circle-arrow-right"></i></a>
|
||||||
|
|||||||
Reference in New Issue
Block a user