another fix for organizations.job-templates sortin & smart status

This commit is contained in:
jaredevantabor
2016-12-20 20:43:11 -08:00
parent 39792b77ae
commit 01d46d43f4
2 changed files with 3 additions and 0 deletions

View File

@@ -298,7 +298,9 @@ export default [{
list.searchSize = "col-lg-12 col-md-12 col-sm-12 col-xs-12"; list.searchSize = "col-lg-12 col-md-12 col-sm-12 col-xs-12";
list.iterator = 'job_template'; list.iterator = 'job_template';
list.name = 'job_templates'; list.name = 'job_templates';
list.basePath = "job_templates";
list.fields.type.ngBind = "job_template.type_label"; list.fields.type.ngBind = "job_template.type_label";
list.fields.smart_status.ngInclude = "'/static/partials/organizations-job-template-smart-status.html'";
return list; return list;
}], }],
OrgJobTemplateDataset: ['OrgJobTemplateList', 'QuerySet', '$stateParams', 'GetBasePath', OrgJobTemplateDataset: ['OrgJobTemplateList', 'QuerySet', '$stateParams', 'GetBasePath',

View File

@@ -0,0 +1 @@
<aw-smart-status jobs="job_template.summary_fields.recent_jobs"></aw-smart-status>