From c736b394c14257f65e9e02b480d49f33db2ea898 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 3 Jul 2008 09:31:01 +0000 Subject: [PATCH] ebl Add documentation link to missing job view git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7294 91ce42f0-d328-0410-95d8-f526ca767f89 --- gui/bweb/lib/Bweb.pm | 4 +++- gui/bweb/technotes-2.3 | 3 +++ gui/bweb/tpl/scheduled_job.tpl | 8 ++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index 6128936faa..2fb9da05e9 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -4974,7 +4974,8 @@ sub check_job } else { push @{$self->{tmp}}, {date => $evt, level => $level, type => 'Backup', name => $job, - pool => $pool, volume => $pool}; + pool => $pool, volume => $pool, + client => $client}; } $end = $evt; } @@ -5023,6 +5024,7 @@ sub display_missing_job id => $cur_id++, title => "Missing Job (since $arg->{begin} to $arg->{end})", list => $self->{tmp}, + wiki_url => $self->{info}->{wiki_url}, }, "scheduled_job.tpl"); delete $self->{tmp}; diff --git a/gui/bweb/technotes-2.3 b/gui/bweb/technotes-2.3 index e13c1633b6..cc8a185823 100644 --- a/gui/bweb/technotes-2.3 +++ b/gui/bweb/technotes-2.3 @@ -1,3 +1,6 @@ +02Jul08 +ebl Add documentation link on missing job view + 31Jun08 ebl Fix log display in job zoom view diff --git a/gui/bweb/tpl/scheduled_job.tpl b/gui/bweb/tpl/scheduled_job.tpl index 497e467265..82f028bd7d 100644 --- a/gui/bweb/tpl/scheduled_job.tpl +++ b/gui/bweb/tpl/scheduled_job.tpl @@ -9,6 +9,9 @@ __Run now__ + + __View doc____View doc__ + @@ -28,6 +31,8 @@ var header = new Array("__Scheduled__", var data = new Array(); var chkbox; +var wiki_url =''; + chkbox = document.createElement('INPUT'); chkbox.type = 'radio'; @@ -37,6 +42,9 @@ chkbox.onclick = function() { document.form1.level.value = ''; document.form1.pool.value = ''; document.form1.media.value = ''; + if (wiki_url) { + document.getElementById('wiki').href=wiki_url + ''; + } } ; data.push( new Array( -- 2.39.5