Add 'last update' column to plugins table
This commit is contained in:
parent
4ecf0dfad2
commit
713b369fc3
2 changed files with 4 additions and 2 deletions
|
@ -141,14 +141,14 @@ $(document).ready(function () {
|
|||
|
||||
// Sort
|
||||
$('.sort.up').unbind('click').click(function() {
|
||||
search.sortBy = $(this).text().toLowerCase();
|
||||
search.sortBy = $(this).attr('data-label').toLowerCase();
|
||||
search.sortDir = false;
|
||||
search.offset = 0;
|
||||
search(search.searchTerm, search.results.length);
|
||||
search.results = [];
|
||||
})
|
||||
$('.sort.down, .sort.none').unbind('click').click(function() {
|
||||
search.sortBy = $(this).text().toLowerCase();
|
||||
search.sortBy = $(this).attr('data-label').toLowerCase();
|
||||
search.sortDir = true;
|
||||
search.offset = 0;
|
||||
search(search.searchTerm, search.results.length);
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
<th class="sort up" data-label="name">Name</th>
|
||||
<th class="sort none" data-label="description">Description</th>
|
||||
<th class="sort none" data-label="version">Version</th>
|
||||
<th class="sort none" data-label="time">Last update</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -86,6 +87,7 @@
|
|||
<td class="name" data-label="Name"></td>
|
||||
<td class="description" data-label="Description"></td>
|
||||
<td class="version" data-label="Version"></td>
|
||||
<td class="time" data-label="Time"></td>
|
||||
<td>
|
||||
<div class="actions">
|
||||
<input type="button" value="Install" class="do-install">
|
||||
|
|
Loading…
Reference in a new issue