Mercurial > kallithea
changeset 3604:ceb6d57d1998 beta
pullrequests: just show first line of description as hint
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 26 Mar 2013 23:14:44 +0100 |
parents | eacd33e0c5b3 |
children | 1f6d8a00a4b5 |
files | rhodecode/controllers/pullrequests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/controllers/pullrequests.py Tue Mar 26 17:46:40 2013 +0100 +++ b/rhodecode/controllers/pullrequests.py Tue Mar 26 23:14:44 2013 +0100 @@ -181,7 +181,7 @@ firstname=repo.user.firstname, lastname=repo.user.lastname, gravatar_link=h.gravatar_url(repo.user.email, 14)), - 'description': repo.description, + 'description': repo.description.split('\n', 1)[0], 'revs': h.select('other_ref', selected_other_ref, other_refs, class_='refs') }