diff --git a/Web/lib/MJB/Web/Task/CreateSSLCert.pm b/Web/lib/MJB/Web/Task/CreateSSLCert.pm index ec2bc95..d302a59 100644 --- a/Web/lib/MJB/Web/Task/CreateSSLCert.pm +++ b/Web/lib/MJB/Web/Task/CreateSSLCert.pm @@ -10,7 +10,7 @@ use IPC::Run3; #== sub run ( $job, $blog_id ) { - $job->note( _mds_template => 'create_ssl_cert' ); + $job->note( _job_template => 'create_ssl_cert' ); my $blog = $job->app->db->blog( $blog_id ); diff --git a/Web/lib/MJB/Web/Task/InitializeBlog.pm b/Web/lib/MJB/Web/Task/InitializeBlog.pm index 6332a47..d3b770d 100644 --- a/Web/lib/MJB/Web/Task/InitializeBlog.pm +++ b/Web/lib/MJB/Web/Task/InitializeBlog.pm @@ -17,7 +17,7 @@ use MJB::Backend::Nginx::DomainConfig; #== sub run ( $job, $blog_id ) { - $job->note( _mds_template => 'initialize_blog' ); + $job->note( _job_template => 'initialize_blog' ); my $blog = $job->app->db->blog( $blog_id ); diff --git a/Web/lib/MJB/Web/Task/SyncBlog.pm b/Web/lib/MJB/Web/Task/SyncBlog.pm index 2a0daf3..a7fe57a 100644 --- a/Web/lib/MJB/Web/Task/SyncBlog.pm +++ b/Web/lib/MJB/Web/Task/SyncBlog.pm @@ -5,7 +5,7 @@ use File::Copy::Recursive qw( dircopy ); use IPC::Run3; sub run ( $job, $blog_id ) { - $job->note( _mds_template => 'sync_blog' ); + $job->note( _job_template => 'sync_blog' ); my $build_dir = $job->checkout_repo( $blog_id ); my $blog = $job->app->db->blog( $blog_id ); diff --git a/Web/lib/MJB/Web/Task/SyncBlogMedia.pm b/Web/lib/MJB/Web/Task/SyncBlogMedia.pm index 0b0a62e..43aff19 100644 --- a/Web/lib/MJB/Web/Task/SyncBlogMedia.pm +++ b/Web/lib/MJB/Web/Task/SyncBlogMedia.pm @@ -5,7 +5,7 @@ use File::Copy::Recursive qw( dircopy ); use IPC::Run3; sub run ( $job, $blog_id ) { - $job->note( _mds_template => 'sync_blog_media' ); + $job->note( _job_template => 'sync_blog_media' ); my $build_dir = $job->checkout_repo( $blog_id ); my $blog = $job->app->db->blog( $blog_id ); diff --git a/Web/lib/MJB/Web/Task/SyncSSLCerts.pm b/Web/lib/MJB/Web/Task/SyncSSLCerts.pm index df0d7bc..43c5152 100644 --- a/Web/lib/MJB/Web/Task/SyncSSLCerts.pm +++ b/Web/lib/MJB/Web/Task/SyncSSLCerts.pm @@ -11,7 +11,7 @@ use IPC::Run3; #== sub run ( $job ) { - $job->note( _mds_template => 'sync_ssl_certs' ); + $job->note( _job_template => 'sync_ssl_certs' ); # Push the SSL Certificates my $result = $job->system_command( [ 'sudo', 'letsencrypt-cert-push' ] ); diff --git a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm index 5b81c24..1d2f8f9 100644 --- a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm +++ b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm @@ -11,7 +11,7 @@ use IPC::Run3; #== sub run ( $job ) { - $job->note( _mds_template => 'update_ssl_certs' ); + $job->note( _job_template => 'update_ssl_certs' ); # Renew the SSL Certificates $job->system_command( [ 'sudo', 'certbot', 'renew' ] ); diff --git a/Web/lib/MJB/Web/Task/WildCardSSL.pm b/Web/lib/MJB/Web/Task/WildCardSSL.pm index 19d80d3..4e32448 100644 --- a/Web/lib/MJB/Web/Task/WildCardSSL.pm +++ b/Web/lib/MJB/Web/Task/WildCardSSL.pm @@ -10,7 +10,7 @@ use IPC::Run3; #== sub run ( $job, $hosted_domain_id ) { - $job->note( _mds_template => 'wildcard_ssl' ); + $job->note( _job_template => 'wildcard_ssl' ); my $domain = $job->app->db->hosted_domain( $hosted_domain_id ); diff --git a/Web/templates/_base/jobs/active.html.ep b/Web/templates/_base/jobs/active.html.ep index 1f1ecc7..fa6a770 100644 --- a/Web/templates/_base/jobs/active.html.ep +++ b/Web/templates/_base/jobs/active.html.ep @@ -9,7 +9,7 @@