You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/10/02 20:09:04 UTC
git commit: improve layout of new projects page
Updated Branches:
refs/heads/master 4c1f101ad -> c14b91aee
improve layout of new projects page
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/c14b91ae
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/c14b91ae
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/c14b91ae
Branch: refs/heads/master
Commit: c14b91aeed43ecdae266d5fcb7b826d3588d8a81
Parents: 4c1f101
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Oct 2 18:08:47 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Oct 2 18:08:55 2013 +0000
----------------------------------------------------------------------
Allura/allura/templates/site_admin_new_projects.html | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/c14b91ae/Allura/allura/templates/site_admin_new_projects.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/site_admin_new_projects.html b/Allura/allura/templates/site_admin_new_projects.html
index 3b9dab5..f6dc2f0 100644
--- a/Allura/allura/templates/site_admin_new_projects.html
+++ b/Allura/allura/templates/site_admin_new_projects.html
@@ -61,7 +61,7 @@
</td>
<td><small>{{ p.shortname }}</small></td>
<td><small><a href="{{ p.url() }}">{{ p.name }}</a></small></td>
- <td><small>{{ p.short_description }}</small></td>
+ <td><small>{{ p.short_description|truncate(100) }}</small></td>
<td><small>{{ p.summary }}</small></td>
<td><small>{{ p.external_homepage|urlize(22) }}</small></td>
<td>{% for a in p.admins() %}<small><a href="{{ a.url() }}">{{ a.username }}</a></small> {% endfor %}</td>
@@ -81,6 +81,9 @@
.pad table {
width: 915px;
}
+ td {
+ max-width: 120px;
+ }
</style>
{% endblock %}