# HG changeset patch # User cavaliet # Date 1362070587 -3600 # Node ID 67d3fb0e54a68106f778ad005ff536f3e9c0371a # Parent 48296e8d046ad47d122c6da97a608539f7e125f5 enhance view fragment with new svg display diff -r 48296e8d046a -r 67d3fb0e54a6 src/egonomy/static/egonomy/css/egonomy.css --- a/src/egonomy/static/egonomy/css/egonomy.css Wed Feb 27 18:59:14 2013 +0100 +++ b/src/egonomy/static/egonomy/css/egonomy.css Thu Feb 28 17:56:27 2013 +0100 @@ -246,6 +246,10 @@ height: 110px; width: 110px; } +.large_square_fragment { + height: 476px; width: 476px; +} + .center-image img { display: inline-block; } diff -r 48296e8d046a -r 67d3fb0e54a6 src/egonomy/templates/egonomy_view_fragment.html --- a/src/egonomy/templates/egonomy_view_fragment.html Wed Feb 27 18:59:14 2013 +0100 +++ b/src/egonomy/templates/egonomy_view_fragment.html Thu Feb 28 17:56:27 2013 +0100 @@ -11,6 +11,33 @@
+
+ {% endthumbnail %}
+ {% else %}
+ {% thumbnail image "x110" format="PNG" crop="center" as im %}
+