Apply the UI enhancement of issue tags cloud to wiki and download part too.

This commit is contained in:
William MARTIN
2011-02-23 22:35:43 +01:00
parent cdedaa4604
commit 6f1bb309d4
8 changed files with 19 additions and 32 deletions

View File

@@ -71,12 +71,10 @@ class IDF_Views_Download
$pag->no_results_text = __('No downloads were found.');
$pag->sort_order = array('creation_dtime', 'DESC');
$pag->setFromRequest($request);
$tags = $prj->getTagCloud('downloads');
return Pluf_Shortcuts_RenderToResponse('idf/downloads/index.html',
array(
'page_title' => $title,
'downloads' => $pag,
'tags' => $tags,
'deprecated' => count($ids),
'dlabel' => $dtag,
),
@@ -370,4 +368,4 @@ function IDF_Views_Download_SummaryAndLabels($field, $down, $extra='')
function IDF_Views_Download_Size($field, $down)
{
return Pluf_Utils::prettySize($down->$field);
}
}