[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-dev] [patch #2392] Hide Homepage-link when there is no Homepag
From: |
parser |
Subject: |
[Savannah-dev] [patch #2392] Hide Homepage-link when there is no Homepage |
Date: |
Mon, 01 Dec 2003 05:25:38 -0500 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) |
This mail is an automated notification from the patch tracker
of the project: Savannah.
/**************************************************************************/
[patch #2392] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2392>
Project: Savannah
Submitted by: parser
On: Mon 12/01/03 at 10:25
Category: None
Priority: 1 - Later
Resolution: None
Assigned to: None
Originator Email:
Status: Open
Summary: Hide Homepage-link when there is no Homepage
Original Submission: Hi I think it´s useful to hind the Homapag-Link of a
project when there is none explicit given.
So I did a change in my Layout.class as follows:
// // Homepage
// if ($project->canuseHomepage())
// {
// $tabDatas[] = $this->maintab_entry('http://'. $project->getHomePage(),
$this->icons['Homepage'], _("Homepage"));
// }
// Homepage
if ($project->canuseHomepage() && $project->getHomePage()!='' &&
$project->getHomePage()!=$project->getUnixName())
{
$tabDatas[] = $this->maintab_entry('http://'. $project->getHomePage(),
$this->icons['Homepage'], _("Homepage"));
}
Explanation: If the getHomePage-function returns an empty string or just the
unix-name of the project, it can be conceived that this url is not an real one.
It´s supposed to be generated from the default settings of the group-type.
I hope this is useful
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=2392>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Savannah-dev] [patch #2392] Hide Homepage-link when there is no Homepage,
parser <=