You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by tv...@apache.org on 2014/02/21 23:21:53 UTC
[05/10] git commit: [#7097] List webpages on separate lines with less
truncation on User Profile
[#7097] List webpages on separate lines with less truncation on User Profile
Signed-off-by: Cory Johns <cj...@slashdotmedia.com>
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/64ffd1d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/64ffd1d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/64ffd1d1
Branch: refs/heads/master
Commit: 64ffd1d1ab4b3c592d8a6aa2e2a295c343101bb1
Parents: 927580b
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Fri Feb 14 15:26:48 2014 +0000
Committer: Tim Van Steenburgh <tv...@gmail.com>
Committed: Fri Feb 21 21:14:08 2014 +0000
----------------------------------------------------------------------
.../ext/user_profile/templates/sections/personal-data.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/64ffd1d1/Allura/allura/ext/user_profile/templates/sections/personal-data.html
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/user_profile/templates/sections/personal-data.html b/Allura/allura/ext/user_profile/templates/sections/personal-data.html
index 3d2f2ef..81b9f69 100644
--- a/Allura/allura/ext/user_profile/templates/sections/personal-data.html
+++ b/Allura/allura/ext/user_profile/templates/sections/personal-data.html
@@ -52,7 +52,11 @@
{{user.get_pref('skypeaccount')}}
</dd>
<dt>Web Site{% if user.get_pref('webpages')|length > 1 %}s{% endif %}:</dt><dd>
- {{user.get_pref('webpages')|filter|map('urlize', 20, true)|join(', ')}}
+ <ol>
+ {% for webpage in user.get_pref('webpages') %}
+ <li>{{webpage|urlize(60)}}</li>
+ {% endfor %}
+ </ol>
</dd>
<dt>Availability (UTC):</dt><dd>
<ol>