~primes2h/+junk/ubuntu-qa-website

« back to all changes in this revision

Viewing changes to code/modules/qatracker/qatracker.display.php

  • Committer: Ara Pulido
  • Date: 2010-08-27 10:30:42 UTC
  • Revision ID: ara@ubuntu.com-20100827103042-gvq0rzhc1bcka5xf
 * Added a logo for the Linaro Tracker
 * Added a new logo for Ubuntu Testing Tracker
 * Changed rewording of the testcases instructions link (LP: #616195)
 * Changed footer to point to Linaro when the Linaro tracker is opened.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1016
1016
        $content.="<tr><td><a style=\"text-decoration:none; color:#000000\" href=\"$base_url/qatracker/info/".$buildID."\"><img src=\"$base_url/modules/qatracker/images/icon/".$build->icon."\" style=\"margin-bottom:-3px;\" alt=\"download info\" /> <b>".$build->title."</b></a></td></tr>";
1017
1017
        if ($testcaseID!=0) {
1018
1018
                $result=db_fetch_array(db_query("SELECT qatracker_testcase.title, qatracker_testcase.link FROM qatracker_testcase WHERE id='".$testcaseID."' "));
1019
 
                if ($result['link']) {
1020
 
                        $content.="<tr><td><a style=\"text-decoration:none; color:#000000\" href=\"".$result['link']."\"><img src=\"$base_url/modules/qatracker/images/test.png\" style=\"margin-bottom:-3px;\" alt=\"testcase\" /> <b>".$result['title']."</b></a></td></tr>";
1021
 
                }
1022
 
                else
1023
 
                        $content.="<tr><td><img src=\"$base_url/modules/qatracker/images/test.png\" style=\"margin-bottom:-3px;\" alt=\"testcase\" /> <b>".$result['title']."</b></td></tr>";
1024
 
        }
 
1019
            $content.="<tr><td><h2>Testcase: ".$result['title']."</h2></td></tr>";
 
1020
    }
1025
1021
        $content.="</table><br />";
1026
1022
        if ($testcaseID && $result['link'])
1027
 
                $content.="<b><a href=\"".$result['link']."\">Additional instructions are available for this testcase, click here to read them.</a></b><br />";
 
1023
                $content.="<h3> <a href=\"".$result['link']."\">Read the instructions to perform this test <img src=\"$base_url/modules/qatracker/images/test.png\" style=\"margin-bottom:-3px;\" alt=\"testcase\" /></a></h3><br />";
1028
1024
        return $content;
1029
1025
}
1030
1026