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 2015/10/28 17:28:17 UTC

[15/35] allura git commit: [#7924] ticket:853 Center user icon (used when no email/avatar)

[#7924] ticket:853 Center user icon (used when no email/avatar)


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/384e416a
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/384e416a
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/384e416a

Branch: refs/heads/master
Commit: 384e416a860d620a07fee37e343d350d12c06b53
Parents: 248543b
Author: Igor Bondarenko <je...@gmail.com>
Authored: Thu Oct 22 19:17:53 2015 +0300
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Tue Oct 27 16:22:11 2015 +0200

----------------------------------------------------------------------
 Allura/allura/templates/jinja_master/lib.html     | 4 ++--
 ForgeActivity/forgeactivity/templates/macros.html | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/384e416a/Allura/allura/templates/jinja_master/lib.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/lib.html b/Allura/allura/templates/jinja_master/lib.html
index e427279..5bfd192 100644
--- a/Allura/allura/templates/jinja_master/lib.html
+++ b/Allura/allura/templates/jinja_master/lib.html
@@ -62,7 +62,7 @@
   {% else %}
     {{ g.icons['user'].render(
         tag='b',
-        style='font-size:{}px;'.format(size) if size else '',
+        style='font-size:{}px;text-align:center;'.format(size) if size else '',
         extra_css='emboss {}'.format(className or '')) }}
   {% endif %}
 {%- endmacro %}
@@ -83,7 +83,7 @@
   {% else %}
     {{ g.icons['user'].render(
         tag='b',
-        style='font-size:{}px;'.format(size) if size else '',
+        style='font-size:{}px;text-align:center;'.format(size) if size else '',
         extra_css='emboss') }}
   {% endif %}
 {%- endmacro %}

http://git-wip-us.apache.org/repos/asf/allura/blob/384e416a/ForgeActivity/forgeactivity/templates/macros.html
----------------------------------------------------------------------
diff --git a/ForgeActivity/forgeactivity/templates/macros.html b/ForgeActivity/forgeactivity/templates/macros.html
index 86897d7..d6578e2 100644
--- a/ForgeActivity/forgeactivity/templates/macros.html
+++ b/ForgeActivity/forgeactivity/templates/macros.html
@@ -34,7 +34,7 @@
   {% else %}
     {{ g.icons['user'].render(
         tag='b',
-        style='font-size:{}px;'.format(size) if size else '',
+        style='font-size:{}px;text-align:center;'.format(size) if size else '',
         extra_css='emboss {}'.format(className or '')) }}
   {% endif %}
 {%- endmacro %}