# HG changeset patch # User Todd Larsen # Date 1222794231 0 # Node ID 7e121e6ba0dd96467dec137269c7d699b719c18e # Parent aac174b902b37e9560d371ceb6d6387343271f9c Add "Last updated" footer to front page body text, using the modified Property from the Work entity. diff -r aac174b902b3 -r 7e121e6ba0dd app/soc/content/css/soc.css --- a/app/soc/content/css/soc.css Tue Sep 30 16:53:30 2008 +0000 +++ b/app/soc/content/css/soc.css Tue Sep 30 17:03:51 2008 +0000 @@ -23,7 +23,7 @@ color: black; font-family: Arial, sans-serif; - font-size: small; + font-size: medium; margin: 8px; margin-top: 3px; @@ -261,6 +261,11 @@ padding-top: 20px; } +#lastmodified { + text-align: right; + font-size: small; +} + /* SIDEBAR MENU */ #side { width: 200px; diff -r aac174b902b3 -r 7e121e6ba0dd app/soc/templates/soc/site/home/public.html --- a/app/soc/templates/soc/site/home/public.html Tue Sep 30 16:53:30 2008 +0000 +++ b/app/soc/templates/soc/site/home/public.html Tue Sep 30 17:03:51 2008 +0000 @@ -48,14 +48,15 @@ {% endblock %} {% block body %} - {% if site_document %} - {{ site_document.content|safe }} - {% else %} + {% if site_document %} + {{ site_document.content|safe }} +
Last updated on: {{ site_document.modified }}
+ {% else %} This is the default site home page that can be configured via the Site Settings interface. The Site Settings interface also provides a mechanism to select a feed to be displayed here. You need to sign in as site Developer in order to change Site Settings. - {% endif %} - {% if site_settings.feed_url %} + {% endif %} + {% if site_settings.feed_url %}
- {% endif %} + {% endif %} {% endblock %} \ No newline at end of file