Issue 111: Links on forge admin and public profile are not using shortname for project linking

master
Nathan Adams 2015-10-27 19:22:45 -05:00
parent 7532cb9b16
commit 741e64c2d9
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ able to create new projects and update other non staff users.
<ul>
{if $ownedProjects}
{foreach $ownedProjects as $p}
<li> <a href="{url 'IDF_Views_Project::home', array($p.name)}">{$p.name} - {$p.shortdesc}</a> </li>
<li> <a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p.name} - {$p.shortdesc}</a> </li>
{/foreach}
{/if}
</ul>

View File

@ -63,7 +63,7 @@ Projects:
{if $p.private == 0}
<tr>
<td>
<a href="{url 'IDF_Views_Project::home', array($p.name)}">{$p.name} - {$p.shortdesc}</a>
<a href="{url 'IDF_Views_Project::home', array($p.shortname)}">{$p.name} - {$p.shortdesc}</a>
</td>
</tr>
{/if}