浏览代码

Added link from package list, fixes #15.

xaav 14 年之前
父节点
当前提交
80ee4e3080
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Packagist/WebBundle/Resources/views/Web/index.html.twig

+ 1 - 1
src/Packagist/WebBundle/Resources/views/Web/index.html.twig

@@ -16,7 +16,7 @@
                 </p>
                 <p class="author">Maintainer{{ package.maintainers|length > 1 ? 's' : '' }}:
                 {% for maintainer in package.maintainers %}
-                    {{ maintainer.username }}{{ loop.last ? '' : ', ' }}
+                    <a href="{{ url("user_packages", { "id" : maintainer.id }) }}">{{ maintainer.username }}</a>{{ loop.last ? '' : ', ' }}
                 {% endfor %}</p>
             {% elseif package.crawledAt == null %}
                 This package has not been crawled yet, some information is missing.