From 6e09166aed8946ac1c752f267c43743d8cbabd34 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 15 Dec 2010 00:21:20 +0100 Subject: better name display on page --- site-media/css/style.css | 2 +- templates/base.html | 7 +++++++ templates/tree.html | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/site-media/css/style.css b/site-media/css/style.css index 540e015..a297d8a 100644 --- a/site-media/css/style.css +++ b/site-media/css/style.css @@ -12,7 +12,7 @@ div#footer li { float: left; margin: 0 0.15em} .navlist li { float: right; display: inline; margin: 0 0.15em; } .description { inherit: none; margin-bottom: 10px;} div#headline{ font: 300% "Trebuchet MS", sans-serif; margin-bottom: 20px;} -div.name { font: 30% "Trebuchet MS", sans-serif; margin-top: 5px;;} +.name { font: 100% "Trebuchet MS", sans-serif; margin-top: 5px;} div.toolbar{ padding: 4px; float: right; margin-right: 10px; margin-top: 6px; margin-bottom: 20px;} div#left { float: left; width: 30%; padding-left: 5px; } div#right { float: right; width: 65%; padding-left: 20px; border-left: 1px solid #CECECE; } diff --git a/templates/base.html b/templates/base.html index b494ca6..b885446 100644 --- a/templates/base.html +++ b/templates/base.html @@ -90,6 +90,13 @@ {% endif %} + {% if name %} + + {% endif %}
diff --git a/templates/tree.html b/templates/tree.html index 7215a41..6fd7dab 100644 --- a/templates/tree.html +++ b/templates/tree.html @@ -29,7 +29,6 @@ $(function() { {% endblock %} {% block headline %} {% if name %}{{name.shortname}}{% else %}{{profile.display_name}}{% endif %} -{% if name %}
{{ name }}
{% endif %} {% endblock %} {% block title %}COIP{% if name %} - {{name.shortname}}{% endif %}{% endblock %} {% block main %} -- cgit v1.1