From 391b658ed1f0bc5ee16b38520686da9790cedc57 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 2 Mar 2014 20:55:13 +0000 Subject: [PATCH] Cipboard copy of device IP from Job Queue, Err jobs link to Discover form --- Netdisco/Changes | 2 ++ Netdisco/share/views/ajax/admintask/jobqueue.tt | 9 +++++++-- Netdisco/share/views/index.tt | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Netdisco/Changes b/Netdisco/Changes index dcb7d0bc..2d09b4e2 100644 --- a/Netdisco/Changes +++ b/Netdisco/Changes @@ -5,6 +5,8 @@ * Wildcard support on Device Port MAC Search * Wildcard support on Node name/MAC Search * User Reports appear in "My Reports" menu if no category is given + * Permit clipboard copy of device IP from Job Queue rows + * Failed Job Device IPs link to Discover form with pre-filled Discover IP 2.024003 - 2014-02-27 diff --git a/Netdisco/share/views/ajax/admintask/jobqueue.tt b/Netdisco/share/views/ajax/admintask/jobqueue.tt index 81f71d91..77fd4076 100644 --- a/Netdisco/share/views/ajax/admintask/jobqueue.tt +++ b/Netdisco/share/views/ajax/admintask/jobqueue.tt @@ -35,8 +35,13 @@ [% ELSE %] [% row.status.ucfirst | html_entity %] [% END %] - [% row.device | html_entity %] + + [% IF row.status == 'error' %] + [% row.device | html_entity %] + [% ELSE %] + [% row.device | html_entity %] + [% END %] + [% row.port | html_entity %] [% row.subaction | html_entity %] [% row.username | html_entity %] diff --git a/Netdisco/share/views/index.tt b/Netdisco/share/views/index.tt index c90d9e32..3a2ccf71 100644 --- a/Netdisco/share/views/index.tt +++ b/Netdisco/share/views/index.tt @@ -50,7 +50,7 @@ [% IF user_has_role('admin') %]
- +