fix broken icon in TimeTracker, and add alt text

This commit is contained in:
Colin Kuskie 2006-06-18 18:09:59 +00:00
parent 837b18d310
commit 33b65374ba
3 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
6.99.5
- fix: Add a Related Product not working
- fix: Edit button missing in timetracker projects
6.99.4

View file

@ -503,11 +503,11 @@ sub www_manageProjects {
my $resourceList = join("<br />",@resources);
my $editUrl = $self->getUrl("func=editProject;projectId=".$projectId);
my $editLink = qq|<a href="$editUrl"><img src="$extras/edit.gif" border="0" /></a>|;
my $editLink = qq|<a href="$editUrl"><img src="$extras/edit.gif" border="0"|.$i18n->get('edit', 'Icon').q| /></a>|;
my $deletePrompt = $i18n->echo("Deleting this project will also delete all associated resources and tasks. Are you sure you'd like to continue?");
$deletePrompt =~ s/'/\\'/g;
my $deleteUrl = $self->getUrl("func=deleteProject;projectId=".$projectId);
my $deleteLink = qq|<span style="cursor:pointer;" onclick="if(confirm('$deletePrompt')){window.location.href='$deleteUrl';}"><img src="$extras/delete.gif" border="0" /></span>|;
my $deleteLink = qq|<span style="cursor:pointer;" onclick="if(confirm('$deletePrompt')){window.location.href='$deleteUrl';}"><img src="$extras/delete.gif" border="0" |.$i18n->get('delete', 'Icon').q|/></span>|;
my $cl = "";
$cl = q|class="alt"| if($count++ % 2 eq 0);

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B