Merge pull request #2489 from Gared/update_column_plugin_list

Add 'last update' column to plugins table
This commit is contained in:
John McLear 2015-01-24 13:14:52 +00:00
commit 10d4e27073
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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">