Top teams list

Fixed team links to point to correct team

(DBOINCP-59)
This commit is contained in:
Tristan Olive 2014-01-14 11:09:32 -05:00
parent aecd48a681
commit 972a21f969
1 changed files with 38 additions and 2 deletions

View File

@ -95,7 +95,7 @@ function teams_views_default_views() {
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 1,
'make_link' => 0,
'path' => 'community/teams/[id]',
'absolute' => 0,
'link_class' => '',
@ -116,12 +116,48 @@ function teams_views_default_views() {
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'exclude' => 0,
'exclude' => 1,
'id' => 'name',
'table' => 'team',
'field' => 'name',
'relationship' => 'none',
),
'phpcode' => array(
'label' => 'Name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'absolute' => 0,
'link_class' => '',
'alt' => '',
'rel' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'hide_alter_empty' => 1,
'value' => '<?php
$team_id = boincteam_lookup_nid($data->id);
echo l($data->team_name, "community/teams/{$team_id}");
?>',
'exclude' => 0,
'id' => 'phpcode',
'table' => 'customfield',
'field' => 'phpcode',
'relationship' => 'none',
),
'expavg_credit' => array(
'label' => 'Recent average credit',
'alter' => array(