* Add a link to each project's homepage. Suggested by karltk.

This commit is contained in:
Eelco Dolstra
2009-02-11 23:14:28 +00:00
parent 66602def16
commit 0be4bad006
21 changed files with 54 additions and 36 deletions

View File

@ -167,6 +167,20 @@
<th>Description:</th>
<td>[% INCLUDE maybeEditString param="description" value=curProject.description %]</td>
</tr>
<tr>
<th>Homepage:</th>
<td>
[% IF edit %]
[% INCLUDE maybeEditString param="homepage" value=curProject.homepage %]
[% ELSE %]
[% IF curProject.homepage %]
<a [% HTML.attributes(href => curProject.homepage) %]>[% HTML.escape(curProject.homepage) %]</a>
[% ELSE %]
<em>(not specified)</em>
[% END %]
[% END %]
</td>
</tr>
<tr>
<th>Owner:</th>
<td><tt>[% INCLUDE maybeEditString param="owner" value=curProject.owner.username edit=(edit && c.check_user_roles('admin')) %]</tt></td>