Improved the style for the labels in the context column.

This commit is contained in:
Loic d'Anterroches
2008-08-06 22:19:46 +02:00
parent 3b5251c1b4
commit a8699db268
5 changed files with 38 additions and 13 deletions

View File

@@ -63,10 +63,12 @@ class IDF_Views_Download
$pag->no_results_text = __('No downloads were found.');
$pag->sort_order = array('file', 'ASC');
$pag->setFromRequest($request);
$tags = $prj->getTagCloud('downloads');
return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
array('project' => $prj,
array(
'page_title' => $title,
'downloads' => $pag,
'tags' => $tags,
),
$request);
@@ -219,11 +221,13 @@ class IDF_Views_Download
$pag->no_results_text = __('No downloads were found.');
$pag->sort_order = array('file', 'ASC');
$pag->setFromRequest($request);
$tags = $prj->getTagCloud('downloads');
return Pluf_Shortcuts_RenderToResponse('downloads/index.html',
array(
'page_title' => $title,
'label' => $tag,
'downloads' => $pag,
'tags' => $tags,
),
$request);
}