You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2014/02/14 16:26:59 UTC
git commit: [#7097] List webpages on separate lines with less
truncation on User Profile
Updated Branches:
refs/heads/cj/7097 f44a98a88 -> 242f34bbf (forced update)
[#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/242f34bb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/242f34bb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/242f34bb
Branch: refs/heads/cj/7097
Commit: 242f34bbff51f29333a998e26a0ccdcb522dc77b
Parents: 1c10ec4
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Fri Feb 14 15:26:48 2014 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Fri Feb 14 15:26:48 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/242f34bb/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>