Skip to content

Commit

Permalink
Update templateadmintools.php
Browse files Browse the repository at this point in the history
add column for templatekey in template list as in justinhunt#51
  • Loading branch information
a-kempka authored Nov 15, 2024
1 parent 35241c3 commit d30e607
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions classes/templateadmintools.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@ public static function fetch_template_table() {
$table->id = 'filter_generico_template_list';
$table->head = array(
get_string('name'),
get_string('templatekey'),
get_string('version'),
get_string('description')
);
$table->headspan = array(1, 1, 1);
$table->colclasses = array(
'templatenamecol', 'templateversioncol', 'templateinstructionscol'
'templatenamecol', 'templatekeycol', 'templateversioncol', 'templateinstructionscol'
);

//loop through templates and add to table
Expand Down Expand Up @@ -147,4 +148,4 @@ public static function fetch_template_details($conf) {
}
return $ret;
}//end of fetch_templates function
}//end of class
}//end of class

0 comments on commit d30e607

Please sign in to comment.