incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject git commit: [#7097] List webpages on separate lines with less truncation on User Profile
Date Fri, 14 Feb 2014 15:26:59 GMT
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 <cjohns@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 <cjohns@slashdotmedia.com>
Authored: Fri Feb 14 15:26:48 2014 +0000
Committer: Cory Johns <cjohns@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>


Mime
View raw message