From c6bdf2953aa83ead4448d1916b00b8a06286ece2 Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Tue, 21 Jul 2015 15:42:39 -0400 Subject: [PATCH] Moved team name / link to second line on Team dashboard panel (DBOINCP-23) --- .../default/boinc/modules/boincteam/boincteam.module | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drupal/sites/default/boinc/modules/boincteam/boincteam.module b/drupal/sites/default/boinc/modules/boincteam/boincteam.module index a049755096..d419b89b01 100644 --- a/drupal/sites/default/boinc/modules/boincteam/boincteam.module +++ b/drupal/sites/default/boinc/modules/boincteam/boincteam.module @@ -811,7 +811,11 @@ function boincteam_dashboard_panel($uid = NULL) { $account = user_load($uid); if ($account->team) { $team = boincteam_load(boincteam_lookup_id($account->team)); - $output .= '

' . $team->name . '

'; + $output .= '

' . bts('Team') . '

'; + $output .= '
'; + $output .= ' '; + $output .= ' ' . l($team->name, "community/teams/{$account->team}") . ''; + $output .= '
' . "\n"; $output .= '
'; $output .= ' '; $output .= ' ' . date('j F Y', boincteam_get_member_join_date($team->id, $account->boincuser_id)) . ''; @@ -824,10 +828,6 @@ function boincteam_dashboard_panel($uid = NULL) { $output .= ' '; $output .= ' ' . number_format($team->total_credit, 2) . ''; $output .= '
' . "\n"; - $output .= ''; } return $output; }